Re: [PHP] validation & inserts not working

2009-03-11 Thread Michael A. Peters
PJ wrote: Lex Braun wrote: PJ, $sql1 = "INSERT INTO book ( title, sub_title, descr, comment, bk_cover, copyright, ISBN, language, sellers ) VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$commentIN', '$bk_coverIN', '$copyrightIN', '

Re: [PHP] validation & inserts not working

2009-03-11 Thread Lex Braun
On Wed, Mar 11, 2009 at 5:44 PM, PJ wrote: > haliphax wrote: > > On Wed, Mar 11, 2009 at 4:29 PM, PJ wrote: > > > >> Lex Braun wrote: > >> > >>> PJ, > >>> > >>> > >>> > Â Â > > > > Â Â $sql1 = "INSERT INTO book ( title, sub_title, descr, > > Â Â Â Â Â Â Â Â com

Re: [PHP] validation & inserts not working

2009-03-11 Thread PJ
haliphax wrote: > On Wed, Mar 11, 2009 at 4:29 PM, PJ wrote: > >> Lex Braun wrote: >> >>> PJ, >>> >>> >>> Â Â > Â Â $sql1 = "INSERT INTO book ( title, sub_title, descr, > Â Â Â Â Â Â Â Â comment, bk_cover, copyright, ISBN, language, >

Re: [PHP] validation & inserts not working

2009-03-11 Thread haliphax
On Wed, Mar 11, 2009 at 4:29 PM, PJ wrote: > Lex Braun wrote: >> PJ, >> >> >>>     >>>     $sql1 = "INSERT INTO book ( title, sub_title, descr,                comment, bk_cover, copyright, ISBN, language, sellers )             VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$comme

Re: [PHP] validation & inserts not working

2009-03-11 Thread PJ
Lex Braun wrote: > PJ, > > >> >> >>> $sql1 = "INSERT INTO book ( title, sub_title, descr, >>>comment, bk_cover, copyright, ISBN, language, sellers ) >>> VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$commentIN', >>>'$bk_coverIN', '$cop

Re: [PHP] validation & inserts not working

2009-03-11 Thread Lex Braun
PJ, > > > $sql1 = "INSERT INTO book ( title, sub_title, descr, > >comment, bk_cover, copyright, ISBN, language, sellers ) > > VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$commentIN', > >'$bk_coverIN', '$copyrightIN', '$ISBNIN', '$languageIN

Re: [PHP] validation & inserts not working

2009-03-11 Thread PJ
Lex Braun wrote: > PJ, > > On Tue, Mar 10, 2009 at 3:46 PM, PJ > wrote: > > > $sql1 = "INSERT INTO book ( title, sub_title, descr, >comment, bk_cover, copyright, ISBN, language, sellers ) > VALUES ('$titleIN', '$sub_titleIN', '$d

Re: [PHP] validation & inserts not working

2009-03-10 Thread Lex Braun
PJ, On Tue, Mar 10, 2009 at 3:46 PM, PJ wrote: > > $sql1 = "INSERT INTO book ( title, sub_title, descr, >comment, bk_cover, copyright, ISBN, language, sellers ) > VALUES ('$titleIN', '$sub_titleIN', '$descrIN', '$commentIN', >'$bk_coverIN', '$copyrightIN', '$ISBN

[PHP] validation & inserts not working

2009-03-10 Thread PJ
Sorry to be a nuisance again, but I cannot understand why my code is not functioning correctly. I have tested the separate elements of the code and they work fine. But when I put it all together something goes off the rails. I am using sessions and cookies. After verifying that the required fields