I've got a MySQL database where I've setup a store procedure, I know the stored procedure works because I can execute it from the phpMyAdmin control panel.
I'm now trying to execute the procedure from my website, I get no errors but nothing is getting inserted into the various tables that I'm expecting. This is the code I'm running from my php page.
$link = new mysqli($host_name, $user_name, $password, $database);
if ($link->connect_error)
{
die('<p>Failed to connect to MySQL: '. $link->connect_error .'</p>');
}
else
{
$sp = $link->prepare("CALL sp_InsertNewSchematic(?, ?, ?, ?, ?, ?, ?)");
$sp->bind_Param('ssissss', $imageFilename, $schematicFileName, $Creator, $youtube, $description, $tags, $versions);
$sp->execute();
}