-
-
What, who, where am I?!?
Craig Lotter is a web developer based in Gordon's Bay, South Africa, who seems completely incapable of shaking off that pesky inner child within, the one that forces him to love all things animated or hand drawn.
The Rugged Rock of Craig contains snippets of his life, popular culture and all the important things like anime, manga, games and comic books. The CodeUnit of Craig on the other hand contains the more serious stuff like code snippets and tutorials, while the House of C chronicles his foray into the world of web comics.
For which it never seems he has enough time anyway.
-
Rugged Rock Studio
- CodeUnit Collections
- Funakoshi Karate International South Africa
- Rugged Rock Studio: The Portfolio of Craig Lotter
- The Codeunit of Craig
- The House of C
- The Rugged Rock of Craig
Tag Archives: tutorial
Inserting Backslashes into a Database Table with PHP
Sometimes you need to store things like file paths into a database table during your PHP script’s execution. However, on going back to the database after running your script, you might come across your path with all of its backslashes (\) missing! Continue reading
Posted in Technology & Code, Tutorials Tagged backslash, database, escape, mysql, PHP, sql, tutorial View Comments
Getting the First Object Returned by a jQuery Selector
If for instance you have just used a jQuery selector to grab a whole lot of objects and now realize that in actual fact you only want to effect the first object that the selector returned to you, you can rest easy in the knowledge that jQuery as per usual has you covered. Continue reading
Posted in Technology & Code, Tutorials Tagged :first, eq(0), first element, jQuery, selector, tutorial View Comments
SQL: Return all the Names when you have all the IDs
I have all the ID values for wildlife parks but instead of displaying the ID values I want to display the park names. These are stored in a table that has two fields, namely ID and the corresponding display name. Continue reading
Posted in Technology & Code, Tutorials Tagged in, sets, single select, sql, sql statement, tutorial View Comments
« Navigation »