Linked Questions

50 votes
10 answers
242k views

I am trying to relearn some PHP basics for making a simple login script, however I get an error I have not received before(I made the same script a little over a year ago and never had this error. I ...
Xander Luciano's user avatar
49 votes
4 answers
245k views

This is going to sound really stupid, but I cannot figure out why I am getting this error. I have created a selection box, named "query_age" in my html form: <form method="get" action="user_list....
dragonridingsorceress's user avatar
41 votes
10 answers
118k views

I am working through some code done by a previous developer. I'm pretty new to PHP so I am wondering if there is any well known pattern or solution to this problem. Basically the original author does ...
user avatar
9 votes
4 answers
47k views

Possible Duplicate: PHP: “Notice: Undefined variable” and “Notice: Undefined index” Good day! I am having the following error in my code: <?php if (!$_POST['SUBMIT']){ //ERROR: Undefined ...
newbie's user avatar
  • 15.1k
6 votes
3 answers
307k views

I have a problem with my PHP code saying that "Notice: Undefined index" I am sure its very simple, since I am a beginner i am not getting well what is wrong exactly so please help me. Here's the code ...
NoviceProgrammer's user avatar
5 votes
3 answers
26k views

I recently setup a new web server and I'm getting undefined variable error. If I use variables without initializing, it gives me an error. The source code did not change. Only the LAMP environment did....
webnat0's user avatar
  • 2,736
15 votes
3 answers
91k views

We are upgrading to PHP 8.1. A new feature is that an undefined array key throws a warning. Unfortunately this interferes with the ability to easily use associative arrays such as $_SESSION variables. ...
Jeffrey Simon's user avatar
4 votes
3 answers
112k views

Possible Duplicate: PHP: “Notice: Undefined variable” and “Notice: Undefined index” So, I am currently learning PHP and was reading on a book about the md5 function for passwords, so I decided to ...
blacblu's user avatar
  • 297
9 votes
1 answer
114k views

So, I'm learning PHP and I keep getting "Warning: Undefined array key" in $GET_["fname"] and $GET_["age"]: <main> <form action="inputs.php" ...
mintfudge's user avatar
  • 101
4 votes
5 answers
8k views

I have this code and it's giving me an undefined error if country is not a variable in the URL. I've never had this problem before so it's obviously something to do with server settings but I'd rather ...
zuk1's user avatar
  • 18.5k
3 votes
4 answers
157k views

Possible Duplicate: PHP: “Notice: Undefined variable” and “Notice: Undefined index” I am trying to do a registration form that registers a user in a database (MySQL). The code is supposed to ...
Brian's user avatar
  • 2,059
7 votes
2 answers
12k views

So, looks like they changed the way accessing an array with an unknown key raises a message. <?php if($myArray['foo']) { ... } For 25 years this was simply raising a NOTICE, and people were quite ...
Jack's user avatar
  • 1,616
4 votes
3 answers
229k views

I have this line of SQL: $sql = "SELECT ID, ListStID, ListEmail, Title FROM $entry_database WHERE ID = '". $ReqBookID ."'"; $result = mysqli_query($conn, $sql); As you can see, I am selecting an ...
Sep's user avatar
  • 79
2 votes
4 answers
20k views

Possible Duplicate: PHP: “Notice: Undefined variable” and “Notice: Undefined index” All of a sudden my php code has come up with : Notice: Undefined index: submit in C:\...
user avatar
5 votes
3 answers
17k views

Possible Duplicate: PHP: “Notice: Undefined variable” and “Notice: Undefined index” I am just learning PHP and I keep getting an Undefined Index error. The book I'm learning from has an HTML form ...
red4d's user avatar
  • 277

15 30 50 per page
1
2 3 4 5
222