I have one question here... I want to pop up alert box asking "Do you want to add new stuff?" But following code is not working. It is directly going to AddStuff.php without giving alert box. I dont know, why?
if ($count==0)
{
$count0=$count;
echo "<script language='javascript' type='text/javascript'>";
echo "var conf= confirm('Do you want to add new stuff?')";
echo "if (conf)";
{
header("location:http://000.000.000.00/ABCD/AddStuff.php?cose=$ID");
}
echo "</script>";
}
If anyone knows, please let me know.