fetching rows
Posted: Sun Nov 24, 2002 12:52 am
bloody hell I just cant figure this out, I've been reading php.net, and programming php by o'reilly and i just cant for the life of me figure out how to fetch more the one row at a time... its simply driving me nuts. can any one help me out here?
The above script will print out the last entry made.. but not the other two made so far, running on an apache server... please help an insane man out

Code: Select all
<?php
while ($row = mysql_fetch_assoc($result)) {
$name = $rowї"name"];
$name2 = $rowї"nameї0]"];
$owner= $rowї"owner"];
$sire = $rowї"sire"];
$dam = $rowї"dam"];
}
?>