Page 1 of 1

Help please?

Posted: Thu Mar 11, 2004 1:55 pm
by NeoPuma
I once again got a simple MySQL connection, and now I want to do this:
Load up all data in the field Game, BUT, the letter field must be equal to $letter. Theres possibly one or more records of the same game in the Game field. So, It will only show it once, instead of multiple times...understand that ok? If so, can you help me out please?

-Neo

Posted: Thu Mar 11, 2004 2:08 pm
by penguinboy
You question is confusing.
You should rephrase it;
specify your table and fields.

Posted: Thu Mar 11, 2004 4:52 pm
by tim
hmm?

Code: Select all

<?php
$sql =  "SELECT * FROM table_name WHERE letter='$letter'";

?>
?