Thread: php question
View Single Post

  #12 (permalink)  
Old 24-03-2008, 06:21 PM
failsafe failsafe is offline
Frontpage User
 
Join Date: Nov 2007
Posts: 7
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
failsafe will become famous soon enough
Default

If you're saying the link doesn't work you also have a problem in this line
Code:
 echo "<a href='details.php?id=$id'>Click Here For Details</a><br />";
you need to use some concatenation for the variable, like so:
Code:
 echo "<a href='details.php?id=".$id."'>Click Here For Details</a><br />";
I'm teaching myself php at the moment and I find Tizag Tutorials quite useful.
Reply With Quote