Undefined Index ...confusion
| From: | Miller, Terion | Date: | Thu, 23 Jul 2009 14:09:51 +0000 |
| Subject: | Undefined Index ...confusion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-295747@lists.php.net to get a copy of this message | ||
I keep getting this error while trying to use the field 'ID' to pass in a url.. And
it's odd because the query is pulling everything BUT the ID which is the first field...
code:
<a href="view.php?ID=<?php echo
$_SESSION['fullRestaurantList']['ID']?>"><?php echo
htmlspecialchars(stripslashes($_SESSION['fullRestaurantList'][$i]['name']));
?>