$config['var1']="xxxx"; $config['var2']="aaaa"; $config['template']="blue"; $config['anothervar']="foo";
This will make updates easier, as you know you only need to write everything in $config.
Luis Lebron wrote:
I have a text file with a series of project variables.
For example $var1="xxxx"; $var2="aaaa"; $template="blue"; $anothervar="foo";
Let say I need to change $template="blue"; to $template="red";. How can I do that keeping the rest of the file intact?
thanks,
Luis
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php