Seometimes with PHP the line number where the script dies isn't the line where you'll find the error. You're also missing a close-quote at the end of this line:
echo("<b>Error " . mysql_errno() . ": " . mysql_error() . "</b>);
It should be:
echo("<b>Error "...
Is this a real variable? I've seen several references to to it and it sounds useful. But when I've tried it on my servers, 4.0.12 and 4.0.17, it doesn't work. Anybody got the answer?
I'm using MySQL/PHP to create a system to search about 9 million records, spread over a couple tables (the biggest has 5 million records). The script counts the total number of results, then displays the first ten. Most of the time it works great, but when the search is too vague and a lot of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.