Page 1 of 1

Re: stored procedure, convert string to integer

Posted: Thu Oct 11, 2012 8:39 am
by seandisanti
try changing

Code: Select all

$sql="call name_employee("intval($q)")";//by stored procedure
to

Code: Select all

$sql="call name_employee(".$q.")";//by stored procedure