View Single Post
Old 02-19-2009, 09:10 PM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

its a notice

this happens because you have not defined your $_POST var before using it

its not wrong but its following coding standard rules and asking if this is what you wanted to do

you need to turn down the sensitivity of the error handling in the php.ini

open the ini file from the WAMP icon under php and locate the error section

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

make sure that its set like the following

error_reporting = E_ALL & ~E_NOTICE
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote