RE: [PHP-DB] configuration files

2004-11-11 Thread Malcolm JC Clark
Yeah, maybe i need to reorganise my code a little. Thanks. -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED] Sent: 11 November 2004 18:20 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] configuration files Malcolm JC Clark wrote: > I thought it would b

Re: [PHP-DB] configuration files

2004-11-11 Thread John Holmes
Malcolm JC Clark wrote: I thought it would be a good idea to use parse_ini_file instead of doing require_once("config.ini"). However, what do I do about arrays that i had in my config file, cos parse_ini_file() does not like them. eg: [foods] favFoods = array('this','that','other',) I notice my php

[PHP-DB] configuration files

2004-11-11 Thread Malcolm JC Clark
I thought it would be a good idea to use parse_ini_file instead of doing require_once("config.ini"). However, what do I do about arrays that i had in my config file, cos parse_ini_file() does not like them. eg: [foods] favFoods = array('this','that','other',) I notice my php.ini file is arranged