PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-26-2006, 11:11 AM   #1
GunMuse
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.
GunMuse is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT -8. The time now is 04:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.