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 ?>">
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

Better Method of a Member Cloud
I assume most people know how tag clouds work, where the tags most used are bigger and the least use

Where do I put CRON code
So I've figured out alot about how to automatically run a php function. I can't figure out where to

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Multiple arrays inside data
Hi,

Simple question. I have a column called "array" in my database, and inserted in

Sending a hyperlink through mail
HI all,
I am sending a mail to outlook mailbox of a user using FM SO_NEW_DOCUMENT_ATT_S

User information
Hi All,
By using t-code SUIM we get all the user details,if suppose we donot have permission t

Return X values where an ID number doesnt matter
Well as for subject heading, thats the best i could think of.

Currently im having a problem w

Recording popularity by day, week.. all time?
Hey everyone, I'm creating a site designed around users uploading music. How can I implement a syste

Socket programming
Hello all,

I have a PHP socket script. GPS trackers connect to this socket. IMEI verification

output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.

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