Re: using <href=abc.php/?day=......>
| From: | pete M | Date: | Tue, 21 Oct 2003 15:03:29 +0000 |
| Subject: | Re: using <href=abc.php/?day=......> | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31224@lists.php.net to get a copy of this message | ||
<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 abc.php file if (phpversion() <= "4.1.0") { $vars = array_merge($HTTP_GET_VARS, $HTTP_POST_VARS); } else { $vars = $_REQUEST; } print_r($vars); Output isArray ( [day] => (nothing)When i use a constant instead of variable like <a href="abc.php/?day=12-12-2002"></a>. it works . Please help me about using a php variable in a href statement. thanks for your attention.