Print array :)
Posted: Thu May 08, 2014 12:29 pm
Simple as that, how i can print out the values into a index.php page. I have autoloadclass for loading classes.
Code: Select all
<?php
class init{
public function __construct(){
$array = array(
'session' => array
(
'session_id' => '',
'session_name' => '',
),
'cookie' => array
(
'cookie_id' => '',
'cookie_name' => '',
),
'mysql' => array
(
'host' => ' ',
'username' => ' ',
'password' => ' ',
'database' => ' ',
)
);
return $array;
}
}
?>