[PHP-DB] using PDO vs mysql extension

2011-01-05 Thread Miriam Natanzon
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 MySQL but maybe in the future we'll add use of MSSQL (but it's negligible in comparis

[PHP-DB] Connecting PHP to MySQL on Windows

2011-01-05 Thread michael manning
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 this with the phpinfo() function. There is just one exception - I cannot connect to a

Re: [PHP-DB] Word Matching Application

2011-01-05 Thread Ron Piggott
This works very well. Thank you for your assistance Dan. Ron The Verse of the Day “Encouragement from God’s Word” http://www.TheVerseOfTheDay.info -Original Message- From: Daniel Brown Sent: Wednesday, January 05, 2011 9:34 PM To: Ron Piggott Cc: php-db@lists.php.net ; Mike Stowe S

Re: [PHP-DB] Word Matching Application

2011-01-05 Thread Daniel Brown
On Wed, Jan 5, 2011 at 21:23, Ron Piggott wrote: > > I only know how to do one array at a time, using FOREACH, like this: > > === > echo "\r\n"; > >    foreach($match_words as $word) { >        echo "" . $word . "\r\n"; >    } > > echo "\r\n"; > === You could either swap that out for a simple

[PHP-DB] Word Matching Application

2011-01-05 Thread Ron Piggott
I am working on a word matching application. Specifically the user will match a word with it’s definition. I have made some progress since my last post for help (2 or 3 days ago). I need help knowing how to alternate between displaying the word and it’s explanation: === echo "\r\n"; echo "\