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
Try this:
$insertQuery = Insert into TABLE
(
col_one,
col_two
)values (
' . $this - firstName . ',
' . $this- lastName . '
);
$db = new DB;
$res =
Jack Scott a écrit :
Try this:
$insertQuery = Insert into TABLE
(
col_one,
col_two
)values (
' . $this - firstName . ',
' . $this- lastName . '
);
$db = new DB;
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 . ',
4 matches
Mail list logo