Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Undefine Index

New Here ,
Sep 29, 2006 Sep 29, 2006

Copy link to clipboard

Copied

hello community

can somebody anybody please clarify my mistake in this following:

what is the meaning of this error message:

"undefined index"

I am using dwmx2004 to create an output page and I am using Apache with PHP. In the Form method I used "Post". I checked all the coding and couter-checked my text field variable and is OK and to counter check whether my Apache is properly configured with PHP, I used the "phpinfo()" and I can get the php info page.

thanks for the help
TOPICS
Server side applications

Views

192
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 29, 2006 Sep 29, 2006

Copy link to clipboard

Copied

oldLearner57 wrote:
> what is the meaning of this error message:
>
> "undefined index"

Without more details of your script, it's difficult to give you a
precise answer, but "Undefined index" is an error message created by PHP
when you try to use an array variable that doesn't exist. For instance,
if you have the following line:

echo $_POST['name'];

You will get Undefined index if $_POST['name'] doesn't exist. One reason
it might happen is if your form use "Name" (with a capital N). Because
PHP is case-sensitive, the correct variable would be $_POST['Name'].

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 29, 2006 Sep 29, 2006

Copy link to clipboard

Copied

LATEST
thanks David Powers / community, I got it done correctly, it was my mistake for not filling in the "php" extension in the "Action" fill.

thanks everybody for the help 🙂

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines