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

    Viewing HTML code in a textarea

    I'm trying to pull HTML code into a form textarea however I actually want the code to be displayed and not the formatting. i.e. <font color="#FF0000;">Hello World</font> needs to be displayed as <font color="#FF0000;">Hello World</font> and not red text that says Hello World. Thanks in Advance
  2. fatfishmatt

    Is there a way to query a result set? My query is too slow

    MattNeeley - This is the code I was after initially. The PHP version of its ColdFusion equivalent. Both kenrbnsn and MattNeeley solutions achieve my desired results. I've cut my execution time down from 1min 25sec to 4secs.... Amazing what a little bit of efficient code practice can do...
  3. fatfishmatt

    Is there a way to query a result set? My query is too slow

    Just before I do leave however... Is there a way with kenrbnsn's second piece of code that I can say: SELECT * FROM $country_array[] WHERE State = $_Get['State'] or SELECT * FROM $rs WHERE State = $_Get['State'] As you can with the ColdFusion <cfquery dbtype="queryName">?
  4. fatfishmatt

    Is there a way to query a result set? My query is too slow

    Thanks Ken... Exactly what I was after.... U DA MAN!!!
  5. fatfishmatt

    Is there a way to query a result set? My query is too slow

    Is there a way with PHP to query a result set rather than query the database, similar to the <cfquery dbtype="queryName"> tag in ColdFusion? I have a database with around 10,000 records, each record having a country, state, city field etc. The user selects the country from a drop down list...

Part and Inventory Search

Back
Top