Help please?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
NeoPuma
Forum Commoner
Posts: 26
Joined: Sat Mar 06, 2004 12:18 pm
Location: South Wales, UK
Contact:

Help please?

Post 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
penguinboy
Forum Contributor
Posts: 171
Joined: Thu Nov 07, 2002 11:25 am

Post by penguinboy »

You question is confusing.
You should rephrase it;
specify your table and fields.
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

hmm?

Code: Select all

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

?>
?
Post Reply