i put error_reporting (E_ALL) on top of my instruction page to know about the expected errors. the whole page now work fine for me and i removed
from my code but still it gives me the following notice.
what should i do to remove this notice.
on instructions page
and on the top of this page i get the action e.g
but this give me the notice that "action" is undefined.
Code:
error_reporting(E_ALL)
Code:
Notice: Undefined index: action in /var/www/vhosts/semanticnotion.com/httpdocs/cafe/view/instructions.php on line 5
on instructions page
Code:
<form method="post" action="instructions.php?action=add&id=<?php echo $_GET['id'];?>">
Code:
$action=$_GET['action'];
Comment