Try changing references to $_SESSION[products] to $_SESSION['products']

-----Original Message-----
From: Anthony Ritter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 18, 2003 10:49 AM
To: [EMAIL PROTECTED]
Subject: [PHP] =sessions / J. Meloni Textbook=

Using mysql, apache and win98

The following code is from "PHP, mySQL and Apache" (SAMS) by Julie Meloni.

Page 338-339 (hour 16).

After choosing my selections in the form box and hitting submit I get:
...............

Warning: Invalid argument supplied for foreach() in
c:\apache\htdocs\listing16.5.php on line 13
..................

I checked her errata at thickbooks.com but there was nothing for this
chapter.

Any help will be greatly appreciated.
Thank you.
TR
-------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to