The answer to the interpolation problem is to use double quotes:
$dsn =
"{$servers["$id"]["type"]}://{$servers["$id"]["username"]}:{$servers["$id"]["password"[EMAIL PROTECTED]"$id"]["hostName"]}/{$servers["$id"]["databaseName"]}";
John Ellingsworth wrote:
Hi.
I am sure there is an easy answe
Hi.
I am sure there is an easy answer to this, but I do not know it and have
not found the answer anywhere. I want to be able to dynamically set my
database from an array of options:
$database = array(
array(
"type" => "mssql",
"name" => "database1",
"hostName" =>
ah ha for PHP 4
man starting of this tutorial say PHP 4.2.1 or higher, so i thought it would
be same but unfortunately not.
thanks man. i will check link tomorrow.
take care
faisal
-Original Message-
From: Rob [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 10:11 PM
To: S.F. Alim
S.F. Alim wrote:
Hi list,
i took this tutorial for creating xml file from scratch. toturial is is
present at sitepoint. www.sitepoint.com/print/management-system-php.
ok i dont know how to enable DOM/XML feature, when i do phpinfo(); it does
give that DOM/XML is enable but i cant run this tutor
Hi list,
i took this tutorial for creating xml file from scratch. toturial is is
present at sitepoint. www.sitepoint.com/print/management-system-php.
ok i dont know how to enable DOM/XML feature, when i do phpinfo(); it does
give that DOM/XML is enable but i cant run this tutorial. i try to debug