Hello there, does anybody know why the source command does not work on my script? It does work in MySQL.
$db = new mysqli('localhost','root','323232');
$db -> select_db('test2');
if(isset($POST['bt']))
{
$q = "drop database test2";
$r = $db->query($q);
echo '<p> You have successfully reseted the database. </p>';
}
else if (isset($POST['bt2']))
{
$q2 = "source reset.sql";
$r2 = $db->query($q2);
}