Questions tagged [undefined-index]

An index is undefined if it is not part of the array being accessed. Use this tag for questions regarding behaviour of undefined indexes or when you see undefined indexes where you don't expect them.

This notice appears when you try to access an undefined index of an array. These commonly appear when working with $_POST, $_GET or $_SESSION variables in PHP.

Use this tag for questions about the behaviour of undefined indexes or when you see undefined indexes where you don't expect them.

276 questions
-4
votes
1 answer

Creating URL and Undefined Index ID

I'm creating a blog website linked to my Facebook account and I'm want to allow users to see older blogs. Therefore I'm creating a loop which outputs urls based the title, which then dynamically generates a new page based on the blog_id. However I…
Zlini
  • 23
  • 2
-5
votes
2 answers

Undefined index

I get Undefined index: image error in this code. Can I know the exact solution? I wanna know workflow from line abc to xyz that I commented in the code using //.Thanks for your help..
-5
votes
1 answer

what is undefined index error in php?

error: "Notice: Undefined index: page in C:\wamp\www\digi\admin\config\setup.php on line 8" my code is:
-5
votes
1 answer

undefined index: postevent....solved it but that created other problems

$citylink_view = "view=$targetview&postevent=$_GET[postevent]"; it was showing undefined index: postevent. i solved it by using $posteventview = $_GET['postevent']; $citylink_view = "view=$targetview&".$posteventview; but this is creating…
-6
votes
1 answer

$_REQUEST (or) $_GET functions in php

i am install xampp recently i will write a function in php $value=$_GET['value']; but it shows an error "Undefined index" i will also try $_REQUEST function plse help me
SureshKumar Vegesna
  • 1,192
  • 5
  • 19
  • 37
1 2 3
18
19