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
Subject: Re: [PHP-DB] Word Matching Application

On Wed, Jan 5, 2011 at 21:23, Ron Piggott
<ron.pigg...@actsministries.org> wrote:

I only know how to do one array at a time, using FOREACH, like this:

===
echo "<ul>\r\n";

   foreach($match_words as $word) {
       echo "<li>" . $word . "</li>\r\n";
   }

echo "</ul>\r\n";
===

   You could either swap that out for a simple `for` loop or add in
an array_combine() call and sort like so:

       foreach ($new_array_name as $word => $explanation)

--
</Daniel P. Brown>
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to