Answer the question
In order to leave comments, you need to log in
An array within an array?
This is my array
$server_url_path = array(
"id" => array("qwester","client_number_id", "client_settings"),
"contact");
$url_path5 = "id";
$url_path6 = "client_number_id";
if (in_array($url_path5, $server_url_path)) {
echo "ID yes";
}
if (in_array("contact", $server_url_path)) {
echo "Con yes";
}
if (in_array($url_path6, $server_url_path["id"])) {
echo "ID array yes";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question