PHP calling MySQL insert stored procedure -


We are new to using the procedures stored in MySQL and have created a test stored procedure, We have tested it in MySQL and it worked fine but we are having trouble working with PHP. We have the following code and when we run it we get the message "don" but the record has not been added

  include 'header.php'; & Lt; & Lt; & Lt; Sets access to DB $ name = "Richard"; $ Result = mysql_query ("call SPTestInsert ('$ name')"); Echo "finished";  

Any help appreciated

Thanks Rich


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -