Re: [PHP-DB] Connecting PHP to MySQL on Windows - RESOLVED

2011-01-10 Thread michael manning
Hi, Thanks to everyone who assisted me. Removing the line: ::1 localhost from the c:\windows\system32\drivers\etc\hosts file did the trick and allowed me to access MySQL databases without any problems. I confirmed this was the correct solution by re-adding the line and seeing it fail again,

Re: [PHP-DB] Configuring PHP with GD and JPEG support

2011-01-10 Thread Karl DeSaulniers
On Jan 10, 2011, at 9:35 AM, mike dorian wrote: Hello, Questions with regards to compiling PHP to support GD with JPEG on 64-bit CentOS 5.5. 1) Specifying folder for jpeg library When I execute the following command, am I saying the full path to libdir is at /usr/source/lib64? ./configu

[PHP-DB] Configuring PHP with GD and JPEG support

2011-01-10 Thread mike dorian
Hello, Questions with regards to compiling PHP to support GD with JPEG on 64-bit CentOS 5.5. 1) Specifying folder for jpeg library When I execute the following command, am I saying the full path to libdir is at /usr/source/lib64? ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd

[PHP-DB] pg_fetch_array and composite fields

2011-01-10 Thread Rodrigo Dias
Hello all! I'm trying to print only one value from a composite field: while ($row = pg_fetch_array($result,NULL,PGSQL_ASSOC)) { if (isset($row["indef_tam"])) { echo "Sizes: ".$row["indef_tam"]; // this shows me the three values from the composite field as a string (e.g. '(100,50,150)' )