PHP调用MySQL插入存储过程

We are new to using the stored procedures in MySQL and have created a test stored procedure which simply adds a name to the database. We have tested it in MySql and it worked fine but we are having problems getting it to work from PHP. We have the following code and when we run it we get the message "Done" but the record has not been added

include 'Header.php'; <<< sets up access to DB
$name = "Richard";
$result = mysql_query("CALL SPTestInsert('$name')");
echo "Done";

Any help appreciated

Thanks Rich