Ok, I read through that, thought I understood but still get blank page
(trying to figure out out to echo the errors? )
This is what I have
<?php
include_once('db_conn.php');
$criteria = 'AJ Allmendinger';
$query = "SELECT * FROM `nascar_standings` WHERE row = '$criteria'";
$result = mysql_query($query) or die('MySQL Error: '.mysql_error());
while ($row = mysql_fetch_array($result, MYSQL_BOTH)) {
printf ("rank: %s starts: %s wins: %s poles: %s points: %s top10: %s dnf: %s", $row[0], $row[6], $row[8], $row[4], $row[7], $row[10], $row[11]);
}
?>