answersLogoWhite

0

What is an unidentified index in php?

Updated: 9/19/2023
User Avatar

Wiki User

13y ago

Best Answer

Probably it's "Undefined Index".

You must have seen it in some of the PHP notices or warnings.

It comes, when you are working with arrays and the Index or Key your code is using doesn't actually exist.

For Example,

if you define an array:

$a = array( 'a'=>'pak' , 'b' => 'asif' );

having two Indexes (a & b),

But later on, you code like:

$a['c'];

Now, c index doesn't actually existed in $a array, so a PHP warning / notice will appear on run time saying:

Undefined Index 'c' ....

Hope this help you!

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an unidentified index in php?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does an index php signify?

PHP is an open-source scripting language used to code websites and webpages. An index php is a page used on a web server as the main frontpage for the website.


Undefined index in PHP?

Please focus on the line number before the line of the error. There must be an array, with some issues with the index.


What does Index PHP stand for?

PHP stands for Hypertext Preprocessor is a widely-used multipurpose scripting language that is used mainly for dynamic web page development that can be embedded in HTML format.


How do you get the 3 keys for sliverlight in RuneScape?

Use this site, it teaches all about how to get the keys. www.tip.it/runescape/index?php?rs2quest_id=2


What is performed by the index PHP link?

If a server is configured to support server side scripting, the list will usually include entries allowing dynamic content to be used as the index page. One example of this is index.php.


What is difference between key and index in php arrays?

A key is the name of a variable in an array ($array["key"]) and the index is the position it's at ($array = ["key" => 0], the index would be 0). Keys and indices are the same if the array is not associative though ($array = [true], the key holding the value true is named 0 and is at index 0).


What does you stand for UFO?

It stands for unidentified, UFO is an acronym for Unidentified Flying Object.


What has the author Robert Kingsley Morison written?

Robert Kingsley Morison has written: 'Disctech' 'UFO book index, 1977' -- subject(s): Bibliography, Unidentified flying objects


When was The Unidentified created?

The Unidentified was created in 2008.


What is 10 percent in Php 250?

Answer: Php 2510% of Php 250= 10% * Php 250= 0.10 * Php 250= Php 25


What does the U stand for in UFO?

it stands for Unidentified


What is the duration of The Unidentified?

The duration of The Unidentified is 1.88 hours.