detroitkid17
2006-09-19 13:38:12 UTC
(connection, and database strings erased)
$result = mysql_query("SELECT name,age,desc FROM contact WHERE ID = '$idno'");
$row = mysql_fetch_array($result);
echo 'Name: '.$row['name'].'
';
echo 'Age: '.$row['age'].'
';
echo 'Description: '.$row['desc'].'
';
?>
When I view the page in a browser, I change the url to .com/display.php?ID=7
The only thing that shows up is the Name:, Age:, Description:, not the actual values of the data in my table. Anyone know why?