i have put error_reporting(E_ALL) on top of my php page now i comment this but it gives me the following notice but the rest of page work fine there is no problem in the page.
Notice: Undefined index: action in /var/www/cafe/view/ingredients.php on line 10 Call Stack: 0.0007 333108 1. {main}() /var/www/cafe/view/ingredients.php:0
what should i do to remove the notice from the top of my page.
on instructions page <form method="post" action="instructions.php?action=add&id="> and on the top of this page i get the action e.g $action=$_GET['action']; but this give me the notice –