I am looking to create a system which on signup will create a subdomain on my website for the users account area.
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update
$main = array();
ReplyDeletefor ($i=0; $i<10; $i++) {
// $i makes numeric keys
$main[$i] = array();
// Or instead, you could make a truly unique key name for each:
$main[uniqid()] = array(...somevalues...);
}
Creates something like:
Array
(
[4f105f361cdd1] => Array
(
)
[4f105f361cf24] => Array
(
)
[4f105f361cf33] => Array
(
)
[4f105f361cf3c] => Array
(
)
[4f105f361cf44] => Array
(
)
)
$arr = array(
ReplyDelete42 => array(56, 86, 97),
51 => array(64, 52)
);
var_dump($arr);
$array = array(42=>array(56,86,97),51=>array(64,52));
ReplyDelete$arraytest = array(
ReplyDelete42 => array(56, 86, 97),
51 => array(64, 52)
);
var_dump($arraytest);