Posts: 2,536
Location: Western Maryland
|
You need to place your variables in double quotes or use concatenation.
PHP Code:
<? echo "<a href='index.php?id=$id'>"; ?>
OR
<? echo "<a href='index.php?id=" . $id ."'>"; ?>
EDIT: Spbbblt. Right, I forgot to use single quotes on my href -- fixed.
__________________
—Kyrnt
Last edited by Kyrnt; 03-24-2005 at 02:53 PM..
|