You are here: Technology, Web & Business Forum
: Web Development
: Programming
:
PHP: Undefined Index & Undefined Offset errors?
|
Welcome to the Technology, Web & Business Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Programming Discuss programming languages such as .NET, PHP, PERL, ASP, ColdFusion, C++
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
|||
Can anyone help me with what an "Undefined Index" error is in PHP. The other day my website was fine but when I opened it today it sprung up with a load of these errors. Looking at the lines the errors occur on, they all contain a $_POST so im guessing the error is to do with this.
I also keep getting an "Undefined offset" error when I use the following code: if ($errors[0] == NULL) { } I just wanted to check whether the first position in the array holds any value. Thanks for your help.
__________________
Powered by Yahoo! Answers |



Linear Mode
