Re: [PHP-DB] Shopping cart application question

2010-04-04 Thread Ron Piggott
I have done something like you have said below Chris. I put the code which is common to be loops in it's own file and I did an INCLUDE Ron -Original Message- From: chris smith To: ron.pigg...@actsministries.org Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Shopping

Re: [PHP-DB] Shopping cart application question

2010-04-03 Thread chris smith
> The " } else { " confuses PHP.  I am not sure what I should be doing. You're missing at least one brace. If the code you supplied is a copy of what you have, you're missing a } for the end of the while loop and one for the end of the else condition. So it's treating } else { as part of the whi

Re: [PHP-DB] Shopping cart application question

2010-04-03 Thread Nilesh Govindarajan
I didn't understand your problem. Explain clearly. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु ! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Shopping cart application question

2010-04-03 Thread Ron Piggott
I am writing a shopping cart application. I am expanding the application to have a store membership component. Right now I am saving the customers selections in one of two ways: - In the session variable "$_SESSION['order']" if they aren't logged in - For those who have logged into their account