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

Re: [PHP] PHP syntax - novice question

2011-10-29 Thread Simon J Welsh
On 30/10/2011, at 1:15 PM, Phil Dobbin wrote: > 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: > > ##

[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)