Re: [PHP] Re: SOLVED - [PHP] php-mySQL insert problem

2005-08-01 Thread Jack Scott
no prob ;-) On Tue, 2005-08-02 at 02:27 +0200, Adi Zebic wrote: > Jack Scott a écrit : > > Try this: > > $insertQuery = "Insert into TABLE > > ( > > col_one, > > col_two > > )values ( > > '" . $this -> firstName .

[PHP] Re: SOLVED - [PHP] php-mySQL insert problem

2005-08-01 Thread Adi Zebic
Jack Scott a écrit : Try this: $insertQuery = "Insert into TABLE ( col_one, col_two )values ( '" . $this -> firstName . "', '" . $this-> lastName . "' )"; $db =& new

Re: [PHP] php-mySQL insert problem

2005-08-01 Thread Jack Scott
Try this: $insertQuery = "Insert into TABLE ( col_one, col_two )values ( '" . $this -> firstName . "', '" . $this-> lastName . "' )"; $db =& new DB; $res

[PHP] php-mySQL insert problem

2005-08-01 Thread Adi Zebic
Hi, I'm new in php so like usual I have little problem(s). I have "DB" clas who connect to database, select database, query database and so on. I have other class "User" with some "members". exemple: ... var $firstName; var $lastName; ... Then I need to insert created object into mySQL database