Re: Word Matching Application
| From: | Ron Piggott | Date: | Thu, 06 Jan 2011 02:45:26 +0000 |
| Subject: | Re: Word Matching Application | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47603@lists.php.net to get a copy of this message | ||
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.piggott@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) {You could either swap that out for a simpleecho "<li>" . $word . "</li>\r\n";} echo "</ul>\r\n"; ===
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/