Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

 
 page.php?id=
Author:  (---.aklubi.ee)
Date:   02-23-04 08:38

I have this code in file form.php

$read = "SELECT * FROM db";
$querys = mysql_query($read)or die("<p>Some Error</p>");
while ($data = mysql_fetch_array($querys)) {
$id=$rad["id"];
$name=$rad["name"];
echo "<A HREF='page.php?id=".$data[id]."'>".$data[id]."</A> , ";
}

Now it opens a blank new page, but how can I get displayed the linkname that user just clicked?
ie. there sre links 1, 2, 3, 4. User clicked "3". How do I display it on the "page.php?id=3"?

 Topics Author  Date
 page.php?id=  new
Tox 02-23-04 08:38 
 Re: page.php?id=  new
bastien 02-23-04 08:43 
 Re: page.php?id=  new
Tox 02-24-04 04:01 
Go to Top  |  Go to Topic  |  Flat View  |  Search 
  |  
New Topic
 Reply To This Message
 Your Name:
 Your Email:
 Subject:
Email replies to this thread, to the address above.
    

Provided By
Phorum