Re: [PHP] Re: inset data to multiple tables

2009-02-16 Thread Chris
PJ wrote: Hell, I feel about as dumb as can be. I just goth things straight and it seems to work just fine... Here is where my problem was... $sql1 = "INSERT INTO books ( title, sub_title, descr, comment, bk_cover, publish_date, ISBN, language ) VALUE

Re: [PHP] Re: inset data to multiple tables

2009-02-16 Thread PJ
Hell, I feel about as dumb as can be. I just goth things straight and it seems to work just fine... Here is where my problem was... $sql1 = "INSERT INTO books ( title, sub_title, descr, comment, bk_cover, publish_date, ISBN, language ) VALUES

[PHP] Re: inset data to multiple tables

2009-02-16 Thread Colin Guthrie
'Twas brillig, and PJ at 16/02/09 19:57 did gyre and gimble: Questions: 1. Do we really need the statements - $result1 = mysql_query($sql1, $db); ? Why? What purpose do they serve? These statements send your SQL to the server. Without them you are just assigning and SQL command to a variable