View Full Version : Undefined index: error in php

01-16-2012, 10:02 AM

i have create one form for save customers feedbak in database.once i entered all the details the customer organisation field not getting updated in my database . i upload my php file here . thanks in advance

01-16-2012, 10:21 AM
i upload my php file here .
No need to upload it. Just paste some relevant code here, enclosed by
][/COLOR] tags.

btw, what you are getting is not an error. It's a warning to inform you that you are using some variables in your scripts before getting intialised. You may avoid this by adding a condition around your code, like

if(isset($_POST['name_of_a_form_element'])){ // or $_GET, in case, if you are using it.