Re: [PHP-DB] Re: inserting data into database!

2004-05-14 Thread Chris Berlioz
Go to PHP.net, books @ bookstore. Seems like you are trying to insert data from an array into a MySQL table, I would visit http://dev.mysql.com/doc/mysql/en/index.html site too. Good luck. === "Ronald "The Newbie" Allen" <[EMAIL PROTECTED]> wrote in message news:[EM

Re: [PHP-DB] Re: inserting data into database!

2004-05-14 Thread Ronald \"The Newbie\" Allen
I have no idea what a class is . I really am a newbie. After you guys help me with this what is a good place to start with learning PHP? "Richard Hutchins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ...or whatever class contains $row-> functionality? > > > > > > -Original

RE: [PHP-DB] Re: inserting data into database!

2004-05-14 Thread Hutchins, Richard
...or whatever class contains $row-> functionality? > -Original Message- > From: Ronald Allen [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 4:13 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Re: inserting data into database! > > > Now that I closed the bracket > it tells me

RE: [PHP-DB] Re: inserting data into database!

2004-05-14 Thread Hutchins, Richard
Have you declared a new instance of the db class anywhere on your page? > -Original Message- > From: Ronald Allen [mailto:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 4:13 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Re: inserting data into database! > > > Now that I closed the bra

Re: [PHP-DB] Re: inserting data into database!

2004-05-14 Thread dpgirago
> Here is my code now, but I am getting a parsing error > Parse error: parse error, unexpected $end > $db_table = 'log'; > $conn = mysql_connect($db_host,$db_user,$db_pass); > if ($conn == true) { > $insert = "INSERT INTO $db_table SET "; > $insert .= "Base = '" . $row->Base . "', "; > $inse