RE: [PHP-DB] Re: using href=abc.php/?day=......

2003-10-22 Thread Robert Sossomon
To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Re: using href=abc.php/?day=.. BECOMES: a href=abc.php?day=$start_day /a This works only if it's within an echo statement: echo a href='abc.php?day=$start_day'; and you must make sure to either use single quotes around the href link, or else

[PHP-DB] Re: using href=abc.php/?day=......

2003-10-21 Thread pete M
a href=abc.php/?day=?echo $start_day;?/a pete MüCella Erdem Efe wrote: Hi; I need to use a href=abc.php/?day=.. /a statement in a xxx.php file. I have to use a php variable on the right of the day variable like a href=abc.php/?day=+?echo $start_day;? /a. When i get this variable in

[PHP-DB] Re: using href=abc.php/?day=......

2003-10-21 Thread Gabriel Peugnet
It's just the syntax: 1. Don't use the / after .php: a href=abc.php?day= 2. Don't use echo inside the string: a href='abc.php?day=$start_day'/a 3. Check the use of double and single quotes. If you use: echo a href='abc.php?day=$start_day'abc/a; maybe you will get the link you want.

RE: [PHP-DB] Re: using href=abc.php/?day=......

2003-10-21 Thread Robert Sossomon
and pretty when displaying the page. Do you have some code I can look at and maybe see where things can be modded to work for you? Robert -Original Message- From: Gabriel Peugnet [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:38 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Re: using

RE: [PHP-DB] Re: using href=abc.php/?day=......

2003-10-21 Thread Robert Sossomon
Sorry, I was over thinking... Just modify it by removing the echo and the / and it should code right out for you. a href=abc.php/?day=+?echo $start_day;? /a BECOMES: a href=abc.php?day=$start_day /a Robert -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: