[PHP] Re: query to display the results without...

2003-12-08 Thread Justin Patrin
Eric Holmstrom wrote: Okay i have this so far --- $result = mysql_query($sql, $conn) or die(mysql_error()); while ($newArray = mysql_fetch_array($result)) { $partno = $newArray['PARTNO']; $description = $newArray['DESCRIPTION']; $comment =

RE: [PHP] Re: query to display the results without...

2003-12-08 Thread Chris W. Parker
Eric Holmstrom on Monday, December 08, 2003 3:06 PM said: > How do i make it so if i type > http://localhost/test.php?partno=5r&description=copper $partno = $_GET['partno']; $description = $_GET['description']; $sql = " SELECT partno , descr

[PHP] Re: query to display the results without...

2003-12-08 Thread Eric Holmstrom
Okay i have this so far --- --- How do i make it so if i type http://localhost/test.php?partno=5r&description=copper Cheers if you can help out! "Justin Patrin" <[EMAIL PROTECTED]> wrote in

[PHP] Re: query to display the results without...

2003-12-08 Thread Justin Patrin
Eric Holmstrom wrote: Hi there I have a database called "Eric" and table name called "Rocket'. Table consists of three values. PARTNO | DESCRIPTION | COMMENT So far if i want to show copper headgaskets from the 5r field i put this string into the php script (along with the rest of the html/php c