Hi,
I'm learning php from a book but because of global off I have have
several "Undefined index" message! I don't want to change the default
setting in my php.ini because I want to learn the good way.
What I'm doing wrong?
Undefined index: categorie
if ($_POST['categorie'] == "New") {
Undefined index: categorie
$query = "SELECT DISTINCT animalName FROM animal WHERE
animalType='{$_REQUEST['categorie']}' ORDER BY animalName";
Undefined index: categorie
echo "<hr><b>No name in {$_POST['categorie']}</b><hr>\n";
Undefined index: categorie
echo "<input type='hidden' name='categorie' value='$categorie'>\n";
Regards!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php