21 August 2010

Getting ready to blog about source code

I'm following directions from this excellent HOWTO for syntax-highlighting source code in Blogger.
This is a test post that I will probably delete once I have some real code to post and discuss.
if ($optDeleteRows && $errFound) {
 $dQuery = "DELETE FROM url_alias WHERE pid = " . $row['pid'];
 $dResult = mysql_query($dQuery);

 if (mysql_errno()) {
  print "ERROR: " . mysql_error() ."\nquery: ". $dQuery . "\n";
 }
}
OK! Well, that's looking pretty reasonable.

0 comments:

Post a Comment