phph within href not showing php if change ? to &


Posted on 16th Feb 2014 07:03 pm by admin

Code: [Select]<a href="<?php echo $puser; ?>?m=<?php=(($m-1)<1) ? 12 : $m-1 ?>&amp;y=<?php =(($m-1)<1) ? $y-1 : $y ?>">
Did you know?Explore Trending and Topic pages for more stories like this.
with the code above it displays /runnerjp?m=10&y=09 BUT if i chnage the ?m to &m then my $puser; doesnt show and all i get is /&m=.... why?
No comments posted yet

Your Answer:

Login to answer
265 Like 35 Dislike
Previous forums Next forums
Other forums

Help With Showing Users On the Index Page
Ive got this code which works just how i want it to.

Code: <?
$timenow=time();

Fetching META TAGS through
Hello everybody
I want to fetch meta tags of a domain.
It will be done from following code of

Help with file_get_html
The following code gives the expected results:

<html>
<head&g

Edit MySQL Row Using PHP and HTML Form
Hello,

Here's what I'm trying to do. Build a page where a user enters a MySQL row number in.

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

switch form actions? not working
i want on submit to go to different pages according to the CatID

Code: <?php $CatID=$_

Email "$"
Hello!!

Any PHP guy with a bit of a knowledge in Flash ?

When I send a JPEG from flash

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is

Career Change into SAP
Hai
I am sajesh ,did my diploma in Mechatronics i have a 4 years of experience in

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash