Hi
I work on a 'play play server' on my pc, for lack of a real server, for this I use WampServer, I have recently updated my version. I suspect its running PHP5 - and Im used to PHP4 behaviour...
Most of the pages I use forms on have the page name as the action <form method="post" action="adduser.php"> - where adduser.php is the page the form is on.
At the top of my code I would have some if statements to process inputted data, if the submit button had been clicked
if($_POST['save'])
{
//save data etc
}
but now I get an error for each of these if statements :
Notice: Undefined index: save in C:\wamp\www\crossfire\www\admin\prod.php on line 5
Can anyone advise me on how to get around this?
Thanks
lworks