Author Archives: Craig Lotter

About Craig Lotter

Craig Lotter is an established web developer and application programmer, with strong creative urges (which keep bursting out at the most inopportune moments) and a seemingly insatiable need to love all things animated. Living in the beautiful coastal town of Gordon's Bay in South Africa, he games, develops, takes in animated fare, trains under the Funakoshi karate style and for the most part, simply enjoys life with his amazing wife and daughter. Oh, and he draws ever now and then too.

jQuery DataTables with Lots of Columns Crashes in IE

If you are using the brilliant jQuery DataTables plugin to present your data in nifty dynamic tables, and are using it in a server-side loading context, you have no doubt encountered the issue when a table with a lot of columns (more than 20) fails to load (in other words stays in “processing” mode) when browsing using Internet Explorer (IE). Continue reading

Posted in jQuery | Tagged , , , , , , | 3 Comments

How to Reuse a MySQL Result Set

To reuse an existing result set returned from a query is actually pretty simple thanks to PHP’s mysql_data_seek function and the fact that mysql_query returns a buffered result set by default.
Continue reading

Posted in MySQL, PHP | Tagged , , , , , , | Leave a comment

IPCop: Troubleshoot No Internet when All other Network Activity Works

What’s the best way to try and troubleshoot the scenario when we have network connections to everything else but the Internet (i.e. external mail, MySQL, and FTP) works, on our IPCop run network? (And note in this case the IPCop run network usually runs perfectly fine, meaning we not delving into a setup that never worked before.)
Continue reading

Posted in Tutorials | Tagged , , , , | Leave a comment

MySQL: How to Check if a Column Exists in a Table with SQL

To check if a column exists in a table with SQL using a MySQL database is pretty easy, thanks to the nifty SHOW COLUMNS command.
Continue reading

Posted in MySQL | Tagged , , | Leave a comment

MySQL: How to Check if a Table Exists with SQL

To check if a table exists with SQL in a MySQL database is pretty easy, thanks to the nifty SHOW TABLES command. Continue reading

Posted in MySQL | Tagged , , | Leave a comment