Why won't my number pass through an href?
| From: | Asendorf, John | Date: | Thu, 12 Oct 2000 17:04:13 +0000 |
| Subject: | Why won't my number pass through an href? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3202@lists.php.net to get a copy of this message | ||
Hello, trying to pass a numerical variable through an href
echo "<a href=\"${editpage}?key=${key}\">"; //where key is a number and
editpage is a URL
which ends up making this link
<a href="http://www.lcounty.com/is/website/test_center/newsedit.php?key=76">
I've tried echoing the $key, but it doesn't return anything.
I tried putting an alpha test in $key... then echoed $key and it returned
it...
Is it the fact that it's a number that's causing me pains?
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631