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
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
...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
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
> 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