stored procedure, convert string to integer

Codes here !

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: stored procedure, convert string to integer

Post by seandisanti » Thu Oct 11, 2012 8:39 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest