View Single Post
  #4 (permalink)  
Old Feb 6th, 2008, 10:57
alexgeek's Avatar
alexgeek alexgeek is offline
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,800
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: Send variable by pressing hyperlink?

Try this:
PHP: Select all

echo "<p>$count.)&nbsp;<a href=\"http://xxxxxxxxxx/show_name.php?id=".$row["id"]."(here is my problem)\"> $name </a> \n</p>"

And then in show_name.php:
PHP: Select all

$id $_GET['id'];
$data mysql_query("SELECT * FROM TABLE where id ='$id'"
Reply With Quote