الثلاثاء، 24 ديسمبر 2013

call to a member function execute() on

Having trouble with line 27, Don't quite know why as I am very new to PHP/MySQL. Was wondering if anybody can advise me why I am getting the error;

"Fatal error: Call to a member function execute() on a non-object in C:\xampp\htdocs\testscripts\usercreate.php on line 27"

in the following code:

prepare($sql);$stmt->execute(array( ":name" => $name, ":psswrd" => $psswrd));

View the original article here

ليست هناك تعليقات:

إرسال تعليق