Jump to content

Please help me with this code


Jackthumper

Recommended Posts

As a simple test, try changing

this

@$pet = mysql_fetch_array(mysql_query("SELECT * FROM pets));

to this

$query ="SELECT * FROM pets";
$result = mysql_query($query);
while($row = mysql_fetch_array($result)) {
  echo $row[0] . " - " . $row[1] . "<br>";
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.