I have two arrays like this:
$path = array("Login", "Register");
$list = array("Admin", "Customers", "Guest");
for ($i=0, $i<=count($path), $i++, $k=0; $k<=count($list); $k++) {
echo "Var " . $path[$i] . " is " . $list[$k] . "\n";
}
Output :
Var Register is Admin
Var Register is Customers
Var Register is Guest
<br />
<b>Notice</b>: Undefined offset: 3 in <b>[...][...]</b> on line <b>6</b><br />
Var Register is
I need Output this
Var Login is Admin
Var Login is Customers
Var Login is Guest
Var Register is Admin
Var Register is Customers
Var Register is Guest
Any have solution?