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

Sharing PHP Sessions Across Domains
I am in the process of writing a script to share a php session across various domains I have.
The

Beginners syntax and loop questions - help please!
Hi everyone,

I have some problems with php code. I'm currently in the middle of learning php,

keeps going back to index.html ???????
ok so i started making my site using mostly.html files now i have added a fair chunk of php. My inde

Can I use a loop
Hi buddies!

Once again with my doubts here.

Right now I am using this sql stat

PHP url branch??
Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a f

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

IP question
ive got 2 ip addresses both global from same user how would i detect if they are local to each other

Populate drop down list from table??
Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get

Sum of Values in an Array
This is probably really simple... but it's been years since I've written anything, so bare with me!<

Can we convert non uni code system into unicode
Hi All,

Presently i am using non-unicode system and the sap version is 4.7.
Can i c

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