比如写一个存储过程User_getAll()主体内容为 select * from user
如何用PHP得到一个数组?
我这样试过,当然是不行的: $res=mysql_fetch_row(mysql_query("call User_getAll()")) ;
print_r($res);
如果设置out的话,不会一个个字段的设置吧?
如何用PHP得到一个数组?
我这样试过,当然是不行的: $res=mysql_fetch_row(mysql_query("call User_getAll()")) ;
print_r($res);
如果设置out的话,不会一个个字段的设置吧?
好像不行啊,直接给我一个 supplied argument is not a valid MySQL result resource 的错误