Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bheath

    Problems with MySQL status request

    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(&quot;<b>Error &quot; . mysql_errno() . &quot;: &quot; . mysql_error() . &quot;</b>); It should be: echo(&quot;<b>Error &quot...
  2. bheath

    ft_boolean_default

    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?
  3. bheath

    Problems with MySQL status request

    Don't you need: if ($result == 0) { echo(&quot;<b>Error &quot; . mysql_errno() . &quot;: &quot; . mysql_error() . &quot;</b>); } elseif (mysql_num_rows($result) == 0) { ***THIS LINE***echo(&quot;<b>Query executed successfully!</b>&quot;); ***THIS LINE*** } else {
  4. bheath

    counting fulltext results

    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...

Part and Inventory Search

Back
Top