MySQL Forums
Forum List  »  PHP

Re: SELECT not echoing single entries
Posted by: Keith Mundrick
Date: July 27, 2005 09:21AM

$result = mysql_query("SELECT * FROM table WHERE `Date` = '$date' AND `Email` = '$Email' AND `First_Name` = '$FirstName'")
or die(mysql_error());

// store the record of the table into $row

$row = mysql_fetch_array( $result );

// Print out the contents of the entry
print $query;

while ($row = mysql_fetch_array($result))
print "$row[Case]";


// Closing connection

Options: ReplyQuote

Written By
Re: SELECT not echoing single entries
July 27, 2005 09:21AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.