RE: [PHP-DB] Re: using <href=abc.php/?day=......>
| From: | lists at shemeshdirectory dot co dot il | Date: | Wed, 22 Oct 2003 08:49:30 +0000 |
| Subject: | RE: [PHP-DB] Re: using <href=abc.php/?day=......> | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31256@lists.php.net to get a copy of this message | ||
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 escape the double quotes with a backslash:
echo "<a href=\"abc.php?day=$start_day\">";
Alternatively, you can do it this way:
<a href="abc.php?day=<? echo "$start_day; ?>">
(ie embed the echo within a regular HTML tag)
-Lisi
___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.