Tjobbe
February 21st, 2005, 00:41
im using atm:
[syntax"php"]$get = mysql_query("SELECT * FROM coname where ID = 1") or die("Mmm pie:" . mysql_error());
[/syntex]
to display id 1 onto a page, this is a comany record.
how do i get it so that on the page that a link is clicked, it selects an id from the database (any given number) and then displays the output on the same page?
i.e click here for company a (id 1)
company b (id 2)
etc..
[syntax"php"]$get = mysql_query("SELECT * FROM coname where ID = 1") or die("Mmm pie:" . mysql_error());
[/syntex]
to display id 1 onto a page, this is a comany record.
how do i get it so that on the page that a link is clicked, it selects an id from the database (any given number) and then displays the output on the same page?
i.e click here for company a (id 1)
company b (id 2)
etc..