More Questions Than Answers

Dan Atrill's blog site

Jobs keynote in 60 seconds

Includes the ultra thin Mac Air notebook, Movie Rentals and Time Capsule wireless backup. As seen on Mahalo Daily and The Guardian’s AskJack.

more... »

Wed, January 16 2008 » Mac'n'stuff » No Comments

Get first record in mysql recordset

This solved a problem the other day whereby mysql_fetch_array had already been used after a query had been run. The first record in the set didn’t appear. Doing the same query in Webmin produced the first record. Using mysql_data_seek(-result-,-recordnumber-) will move the pointer to the correct first record.
This could be useful for looping through records [...]

more... »

Fri, January 11 2008 » PHP » No Comments