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 Mike Lewis 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. Motolix

    Pagination

    1. LIMIT will work with the second parameter. LIMIT 0,3; LIMIT 3 OFFSET 0; works just as well though. Nothing against it. 2. My mistake, apologizes to anyone who was confused. $count should be a mysql query to retrieve the full count. Personally I use count(*). 3. Sorry. My script was...
  2. Motolix

    Simulating REXX

    I'm not sure what level of access you have to these machines, but PHP can be run from Command line in Windows (I believe it's native, but don't quote me =P). It's been a few years, but if I recall correctly the script can be run indefinitely, so you could create a simple "Port Listener" for...
  3. Motolix

    Pagination

    Not sure if this will work, I don't have my IDE with me. $numPerPage = 15; //We'll pass the page through our query string. So check it, //and assign it to a var. $page = (!empty($_GET['pg'])&&eregi("^[0-9]{1,9}$", $_GET['pg'])) ? $_GET['pg'] : 0; $start = $page * $numPerPage; $end = $start +...

Part and Inventory Search

Back
Top