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

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 01:13, michael manning michaelgmann...@gmail.com wrote: Hi, I have installed MySQL 5.1.52, Apache 2.2.15 and PHP 5.3.2 on my Windows Vista computer. The MySQL works fine with the command line client and I have tested the Apache and PHP and it appears fine when I test

Re: [PHP-DB] using PDO vs mysql extension

2011-01-06 Thread Daniel Brown
On Thu, Jan 6, 2011 at 02:52, Miriam Natanzon miriamna...@gmail.com wrote: Hi, I want to build an internal module for common DB-involved tasks: starting with connection, simple queries and go on to multiple pages of results and connecting tables and so on. We are currently working with

[PHP-DB] combining the results of mysql query and finding the unique tuples in php

2011-01-06 Thread Fahim M
Hi I have a certain number of mysql tables(relation), say 50, some of them having 5 fields and some with 6 fields. a particular search item may be found in multiple tables with multiple rows. I am using a loop to find all those. My problem is I want to first combine all those results and then find

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

2011-01-06 Thread michael manning
Hi Daniel, When testing with the CLI, netstat shows: = C:\Users\mmanningnetstat -b Active Connections Proto Local Address Foreign AddressState TCP127.0.0.1:80 mmanning-PC:49391 ESTABLISHED [httpd.exe] TCP127.0.0.1:3306

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

2011-01-06 Thread michael manning
Hi, I swapped out 'localhost for '127.0.0.1' in the url but this had no effect. I had a look at my hosts file at c:\windows\system32\drivers\etc and this contained: # Copyright (c) 1993-2006 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file