Thought this was a neat way of testing/handling query errors without assigning the result to a variable because you don’t need a variable unless you are using SELECT. mysql_error() returns empty string if there was no error, which evaluates to false, as pointed out by jakub-arnold in this post
Monthly Archives: September 2012
Here’s a quick and basic script for generating a sitemap XML file for robots to index your site:
At the top of your access file, next line after RewriteEngine On: RewriteRule ^(dir_name|file_name\.extension|and_so_on) – [L]
Open the .odt file in a zip extractor like 7-Zip – you should find a folder with all the images in. Here’s where I got the details from.