Re: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named Pipes (resolved)

2007-05-16 Thread John Comerford
- Original Message - From: John Comerford [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Wednesday, May 16, 2007 11:05 AM Subject: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named Pipes Hi Folks, I have a MySQL database running on Windows XP, that I want to disable

[PHP-DB] [PHP] Cannot connect to an MySQL database using Named Pipes

2007-05-15 Thread John Comerford
Hi Folks, I have a MySQL database running on Windows XP, that I want to disable network connections to and enable 'named pipes'. I am running MySQL 5.0.27 and my.ini looks like... [client] #password= your_password port= 3306 socket= /tmp/mysql.sock [mysqld] #port

Re: [PHP-DB] Fatal Error: Class 'mysqli' not found in...

2007-02-19 Thread John Comerford
Have you tried using phpinfo() to make sure it's seeing your php.ini file ? Ralph E. Brickley wrote: Hello All, I have been using Apache 2, PHP5 and MySQL 4 and 5 for a long time, and recently had to wipe my box due to a virus! Now that I have everything reinstalled, I can NOT get

Re: [PHP-DB] simple issue

2006-11-21 Thread John Comerford
You'll have to supply more information a) code sample b) error message Chris Carter wrote: Hi, I am new to PHP, just trying a peace of code to access mySQL database to fetch and show result on web page. But getting errors. Can you help me with this code please. Or if you have a very basic

Re: [PHP-DB] simple issue

2006-11-21 Thread John Comerford
I'm pretty new to this stuff myself but try this: while ($row = $result-fetch_array()) { $compname=$row[CompanyName]; $conname=$row[ContactName]; echo trtd$compname/td; echo td$conname/td/tr; } Chris Carter wrote: my code: html body ? $username=chris; $password=carter;