Archive for the 'PHP' Category

Preparing MySQL statements in PHP 5

This revolves around the PHP mysqli module (for PHP 5). Yeah, I know, it’s in the manual, but the examples aren’t straightforward enough, so here’s a couple of my own.
The idea here is SECURE database interaction. Follow these steps:
1. Create a database user with ONLY the permissions that you need [...]

The idea here is that search-engines read a bunch of text on your page that may not be relevant. You can use javascript to write text to a page on the client-side, and that text won’t be processed by the search-engines, thus achieving Search Engine Optimization (SEO).
There are a couple ways to do this… [...]