You are having trouble requesting an update and updating.
Warning: Crud::update() [crud.update]: Property access is not allowed yet in crud.php on line 60
This is my code.
$stmt = $this->mysql->prepare('UPDATE links SET title = ?, url = ?, comment = ? WHERE id = ?'); $stmt->bind_param('sssi',$title,$url,$comment,$id); $stmt->execute(); $stmt->close(); on line 60 return $stmt->affected_rows;
Compiled it and found only one link in the php documentation in the comment, but I could not understand the comment: /
php mysql pdo prepared-statement
andrei
source share