Timeout on Large mySQL Query
Posted
by Bob Stewart
on Stack Overflow
See other posts from Stack Overflow
or by Bob Stewart
Published on 2010-05-11T21:41:51Z
Indexed on
2010/05/11
21:44 UTC
Read the original article
Hit count: 237
I have this query:
$theQuery = mysql_query("SELECT phrase, date from wordList WHERE group='nouns'");
while($getWords=mysql_fetch_array($theQuery)) {
echo "$getWords[phrase] created on $getWords[date]<br>";
}
The data table "wordList" contains 75,000 records in the group "nouns" and every time I load the code I am returned an error. Help!
© Stack Overflow or respective owner