On 30 Jun 2003 at 10:25, - Edwin - wrote:
> > [mysql_info}
>
> I think you meant [mysql_info]? (Check the closing bracket.)
It is correct on the server. My fingers didn't type what my brain
told
them to for this email.
> Notice that you need to do something like this: (based on your
> example)
>
> <?php
>
> $INI = parse_ini_file("/home/revref/mysql.ini");
> print_r($INI);
>
> ?>
This leads to the following output:
Warning: Error parsing /mydirectory/mysql.ini on line 4 in Unknown on
line 0 Array ( [host] => spore.org [uid] => myuserid [passwd] =>
mypassword)
The error message still remains, though now the test confirms that
mysql.ini is being parsed.
> PS
> Please check the difference between print_r() and echo() as well...
Thanks for the tip. I have read the manual for both of these.
Doug
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php