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

cyrillic string conversion question
Hello,

First time here...

I would like to know if there is a way to convert a

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

How do i use vars in an array
Hiya peeps!

How do I use a var in an array. You will see $id but it isnt working.


Not "Just Another" MMORPG - text based.
Hello,

I've been learning MySQL and PHP for the last 2-3 years.
Though, I've had long paus

login and redirect
hello! can someone help me.. can you give me an idea.. I want to make a login page and redirects it

is this the proper use of mysql_real_escape_string() to prevent sql injections?
i was wondering is this the proper use of mysql_real_escape_string() to prevent sql injections? any

Regarding accessing SQL query issued by any user in Oracle 10g
Hi all,
i want to know the queries issued by various users accessing a database...

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

Operating System
How in PHP or other language can I detect Operating system, ie Windows XP Home, Windows 7 Ultimate,

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype 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