RE: [PHP] Re: probably stupid, but...

2004-11-13 Thread Graham Cossey
s way the PHP code would be something like: for($i=0; $i -Original Message- > From: Robert Sossomon [mailto:[EMAIL PROTECTED] > Sent: 12 November 2004 21:20 > To: Ben Ramsey > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: probably stupid, but... > > > Ben Ramsey is quo

RE: [PHP] Re: probably stupid, but...

2004-11-12 Thread Mike Johnson
From: Robert Sossomon [mailto:[EMAIL PROTECTED] > OK, I took out the extra ' that I had at the beginning, and > then I changed everything around to: > > if (!empty($_POST['book_title_'.$i])) > { >$addtocart = "INSERT INTO `curriculum` VALUES > ('',$_POST['book_title_'.$i],$_POST['book_

Re: [PHP] Re: probably stupid, but...

2004-11-12 Thread Robert Sossomon
Ben Ramsey is quoted as saying on 11/12/2004 3:41 PM: You've got some parsing errors going on. Nothing particularly wrong with the logic... OK, I took out the extra ' that I had at the beginning, and then I changed everything around to: if (!empty($_POST['book_title_'.$i])) { $addtocart =