<?php
$session_array = array("first" => 1, "second" => 4);
if (array_key_exists("first", $search_array)) {
echo "The 'first' element is in the array";
}
?>
i guess i don't really understand it.
i figure i should be able to use sessions
but i'll try this..
<?php
$session_array = array("first" => fname, "second" => lname, "third" => id);
if (array_key_exists ("first", $session_array)); {
echo 'welcome $fname." ".$lname';
}
?>
that's what i think i should do. but i'm not realy sure, kinda new to something that in depth.