prepared statements |
Hi again.
So I was trying to improve safety in my project by using prepared statements, and it just doesn't seems to work. would you be so kind as to take a look and see if you find anything out of place? this is the model function PHP Code: public static function insert_contactos($data_array) This is the controller function PHP Code: public function insert() after running in debug mode, i get this exception from Exception has occurred. ErrorException: Uninitialized string offset: 1 "C:\xampp\htdocs\pgp4\system\Database\Query.php" As always, thank you for your time. Messed with it again by trying a manually built statement, but still hangs on that exception, the thing is it is inserting the data correctly, but it stops afterwards. |
Messages In This Thread |
prepared statements - by joseCarlos - 05-19-2020, 03:57 AM
RE: prepared statements - by joseCarlos - 05-25-2020, 02:07 AM
RE: prepared statements - by kilishan - 05-25-2020, 09:07 AM
RE: prepared statements - by joseCarlos - 05-26-2020, 01:44 AM
RE: prepared statements - by joseCarlos - 05-26-2020, 04:24 AM
|