Yes I am using MySQL database and tables are indexed. Still very slow. I am using comparing sometimes Dates and I am also using:
if(strLeng($link)<8){
blah blah..
}
in while loop which is inside of another while and I am always making query to database in each while and for loop. Do you think making queries inside nested while loops slows the whole thing? and if that is the case, I would not know how to solve. These SQL queries cannot be skipped. You know what I mean.
Do you have good timer code so that I will check which of the loops is taking more time?
By the way, I must use this style:
while (){
if (length(trim($x.$y))<=10){
//code
}
Because My while loop is like:
while($row = mysql_fetch_array($query)){
$link = $row["links"];
}
so the link itself is in database. I would appreciate any performance improvement suggestions.
Thanks annchen.