“PHP Index Undefined Signification” Réponses codées

Index PHP non défini

// Your array index has no value or is not referencing anything,
// The easiest way to overcome this is to simply check whether
// it has been defined
if (isset($arr[$i])) {
	// Do something
}
Kaotik

PHP Index Undefined Signification

$_SESSION['yy'] = isset($_POST['yy']) ? $_POST['yy'] : "";     // This is on line 11
$_SESSION['mm'] = isset($_POST['mm']) ? $_POST['mm'] : "";     // This is on line 12
$_SESSION['dd'] = isset($_POST['dada']) ? $_POST['dada'] : ""; // This is on line 13
Enthusiastic Elk

Réponses similaires à “PHP Index Undefined Signification”

Questions similaires à “PHP Index Undefined Signification”

Plus de réponses similaires à “PHP Index Undefined Signification” dans PHP

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code