How would I display a single item from a single row in PHP? Currently for an array of many rows, I have:
while($row = mysql_fetch_array($result, MYSQL_ASSOC)){
$result = mysql_query($query) or die("Could not store game info in database results.");
echo '<option value="'.$row['codename'].'">'.$row['gamename'].'</option>';
and then
'.$row['codename'].' to display a row
But I just want to display one thing at a time.