In article <000501c0c2f5$185e8e80$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Duke") wrote:
> I'm trying to create the following array:
>
> $host_info = array(
> "hostname" => "localhost"
> "log" => "rocketbox_db.log"
> "username" => $username
> "password" => $password
> "database" => "rocketbox"
> "table" => $table
> );
>
> however when I try and access the document, I get the following error:
>
> Parse error: parse error, expecting `')'' in
> /usr/home/kidlinux/htdocs/rocketbox/admin/index.php on line 26
Your array elements need to be delimited by commas:
$host_info = array(
"hostname" => "localhost",
"log" => "rocketbox_db.log",
"username" => $username,
"password" => $password,
"database" => "rocketbox",
"table" => $table
);
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]