Miller, Terion wrote:
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'])); ?>

We're going to need to know how the $_SESSION['fullRestaurantList'] gets populated. Also, where do you define $i? Is $i the ID? Seemed like you've built an array of arrays and you may want $_SESSION['fullRestaurantList'][$i]['ID'], or just $i. This is all speculation from the 2 lines of code I've seen though.

- Kyle

Reply via email to