php - How to make stored procedure? -
i made function:
function getall($table) { $q = "select * $table"; $result = mysql_query($q) or die(mysql_error()); return $result; }
my question is: how can make stored procedure function in php?
you can use database extensions if mean create, drop or call stored procedure in php. [http://php.net/manual/en/mysqli.quickstart.stored-procedures.php][1]
Comments
Post a Comment