|
07-26-2006, 11:11 AM | #1 |
Green Mole
Join Date: Feb 2005
Posts: 24
|
Long Call help.
else {
if (is_array($strings)) { $strings = array_values($strings); $num_in_strings_arr = count($strings); } else { $num_in_strings_arr = 0; } $leven_final = ""; $leven_sum = 0; if (($num_in_strings_arr > 0) && (strlen($path) == 0)) { for ($i=0; $i<$num_in_strings_arr; $i++) { $soundex_query = "SELECT keyword FROM ".PHPDIG_DB_PREFIX."keywords WHERE SOUNDEX(CONCAT('Q',keyword)) = SOUNDEX(CONCAT('Q','".$strings[$i]."')) LIMIT 500"; $soundex_results = mysql_query($soundex_query,$id_connect); if (mysql_num_rows($soundex_results) > 0) { $leven_ind = 0; $leven_amt1 = 256; $leven_keyword = array(); That is in the search function what exactly is that call doing because its a very long call searching hundreds of thousands of keywords. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Long Time Spidering Crashes | mikiwiki | Troubleshooting | 1 | 10-26-2006 10:25 AM |
Call to undefined function: mb_eregi() | PHPfranky | Troubleshooting | 0 | 12-03-2005 07:40 AM |
Long post, possible issues, and maybe the data to solve some? | Paul D. Buck | Troubleshooting | 4 | 02-03-2005 12:59 PM |
How long? | sjSJ | How-to Forum | 1 | 05-11-2004 07:09 PM |
PDFs in directory listed as one long entry | motopsycho | External Binaries | 4 | 03-09-2004 06:07 PM |