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

    Replacing a string within a text file

    I worked on something quite similar recently. This will do exactly what you described. Of course you have to define exactly what you're replacing but if that is going to change you can put it into a $_POST variable //read the text file, define what text you're replacing, GET or POST new text...
  2. thisisafakeaccount12

    Categorizing MySQL query

    I have a page that categorizes information from a MySQL query The ultimate result I'm trying to acheive is having a major category followed by a subcategory followed by the MySQL results, like this: Environment (Major Category) Agriculture (Sub category) Results from query Public Works (Major...
  3. thisisafakeaccount12

    Putting unique header on top of categorized MySQL results

    Wow. thank you both so much it works!!!
  4. thisisafakeaccount12

    Putting unique header on top of categorized MySQL results

    Getting very close, the only problem is the result it spits out is like this Category 1 (Header) cat 1 entry 1 Category 1 (Header) cat 1 entry 2 Category 1 (Header) cat 1 entry 3 Category 2 (Header) cat 2 entry 1 Meaning that the header is repeated for each entry with a category = $category...
  5. thisisafakeaccount12

    Putting unique header on top of categorized MySQL results

    Whoops sorry I didn't specify the variables, they are mainly just pulling from MySQL $program = $row['program']; $description = $row['description']; $funder = $row['funder']; $duedate = $row['duedate']; $nofa = $row['nofa']; $guide = $row['guide']; $application = $row['application']...
  6. thisisafakeaccount12

    Putting unique header on top of categorized MySQL results

    I have a small application that displays an HTML table in categories. The problem is I want a category header to be output each time the category changes. I have a numerical field in the database for the category. I'm pretty dumb, so please be specific with any comments i.e. Category 1 cat1...

Part and Inventory Search

Back
Top