lonelydragon
Programmer
hello:
i am tring to insert some data into the database without any luck. please give me a habd. thank you.
$qry = 'INSERT INTO event VALUES(?,?)';
$stmt = $this->connect->stmt_init();
if($stmt->prepare($qry)){
$stmt->bind_param('is',$userPntr,$startTime);
if(!$stmt->execute()){
printf("Errorcode: %d\n", $this->connect->errno);
}
}
$stmt->close();
i am tring to insert some data into the database without any luck. please give me a habd. thank you.
$qry = 'INSERT INTO event VALUES(?,?)';
$stmt = $this->connect->stmt_init();
if($stmt->prepare($qry)){
$stmt->bind_param('is',$userPntr,$startTime);
if(!$stmt->execute()){
printf("Errorcode: %d\n", $this->connect->errno);
}
}
$stmt->close();