Hi
I tried to upload my project on my machine and the error that I get from mysql is:
execute command denied to user 'tisegoco_goitse'@'localhost' for routine 'tisegoco_tisego.offices
I granted this user all privileges on the db.
Now I am trying to access this procedure:
delimiter //
create procedure sample()
begin
select * from tblusers;
end
delimiter ;
and the php code is as follows:
require ("db.php");
$db = dbConnect();
$result = $db->query("CALL sample()");
echo $db->error;
while(list($id, $city, $address) = $result->fetch_array())
echo "($id) $city: $address <br />";
Please help thank you.