实例一:无参的存储过程 代码如下:$conn = mysql_connect(‘localhost’,’root’,’root’) or die (“数据连接错误!!!”);mysql_select_db(‘test’,$conn);$sql = “create procedure myproce()beginINSERT INTO user (id, username, sex) VALUES (NULL, ‘s’, ‘0’);end;“;mysql_query($sql);//创建一个myp