Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-16-2012, 09:02 AM   PM User | #1
saivasanth
New to the CF scene

 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
saivasanth is an unknown quantity at this point
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
saivasanth is offline   Reply With Quote
Old 01-16-2012, 09:21 AM   PM User | #2
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
Quote:
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.


__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:02 PM.


Advertisement
Log in to turn off these ads.