This is what I have so far:
(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?
2006-09-19
09:38:12
·
4 answers
·
asked by
detroitkid17
2
in
Computers & Internet
➔ Programming & Design