Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Undefined index: error in php

    hi

    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

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    i upload my php file here .
    No need to upload it. Just paste some relevant code here, enclosed by [PHP][/PHP] 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
    PHP Code:
    if(isset($_POST['name_of_a_form_element'])){ // or  $_GET, in case, if you are using it.


    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •