if null then throw error alert
This commit is contained in:
parent
6adacf933f
commit
459cdeb4f9
1 changed files with 1 additions and 1 deletions
2
farp.php
2
farp.php
|
@ -24,7 +24,7 @@
|
||||||
fwrite($myfile, $content);
|
fwrite($myfile, $content);
|
||||||
fclose($myfile);
|
fclose($myfile);
|
||||||
} else {
|
} else {
|
||||||
echo '<script>alert("Please draw something.")</script>';
|
echo '<script>alert("An error occured.")</script>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Reference in a new issue