Instead of use mysql_fetch_array() use mysql_fetch_assoc(). (Could work)
Instead of use mysql_fetch_array() use mysql_fetch_assoc(). (Could work)
hai chriswattsuk,
first you delete the code at the starting of your program that is
<?php
/* Program: petdisplay.php
* Desc: Displays all pets in selected category.
* /
?>
<html>
<head><title>Pet Catalog</title></head>
<body>
why because
at the starting of the program we have to put the php code ,reason is some browsers do not allow the code.try it
bye
remove this code at the starting of the program then you cant get such type of errors/warnings.
<?php
/* Program: petdisplay.php
* Desc: Displays all pets in selected category.
* /
?>
<html>
<head><title>Pet Catalog</title></head>
<body>
Interesting because, I created a test database according to your query and I ran your code, but I get the same error in the same line...
I tried all I could, modifying different things, even changing the group '-STANDBY-' to just 'standby' etc...
What could be really the problem????
May be somewhere I am failing and I need to learn a lot more SQL
Bookmarks