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@xxxxxxxxxxxxx ; Mike Stowe
Subject: Re: Word Matching Application
On Wed, Jan 5, 2011 at 21:23, Ron Piggott
<ron.piggott@xxxxxxxxxxxxxxxxxx> 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