[PHP] Re: New to mac and trying to define a php.ini file.

2012-01-04 Thread Phil Dobbin
On 4/1/12 14:09, "Richard Quadling" wrote: > Where do I put my php.ini file for a MacBook Air? I've only had it 2 > days and having trouble with the date.timezone setting. > > I've also had to install xampp (recommended - no idea about it) for > Apache with PHP. > > Different versions of PHP no

Re: [PHP] PHP syntax - novice question

2011-10-29 Thread Phil Dobbin
On 30/10/11 at 01:18, si...@welsh.co.nz (Simon J Welsh) wrote: > It seems as though your editor has changed the normal quotes around > into "pretty" > quotes. Change the ‘s and ’s back to '. Hi, Simon. Thanks for that. Couldn’t see for looking... Cheers, Phil. -- Please consider the env

[PHP] PHP syntax - novice question

2011-10-29 Thread Phil Dobbin
Hi, all. I’m new to the list & PHP in general & have a syntax question. I have a script that calls both DB & MDB2. This is the part of the script where the error occurs: if($type == "DB") { $db = DB::connect($dsn)