Christopher Jones' Blog: PHP 5.3 "NOWDOCS" make SQL escaping eas...

Courtesy PHPDeveloper.org  Thu, 02/14/2008 - 11:18

Christopher Jones has posted about an update to the development for PHP 5.3 that makes escaping SQL even easier in scripts - NOWDOCS.

Escaping quotes or other meta characters in SQL can be painful unless you get lucky with your quoting style.

[...] Even with PHP's "Heredoc" syntax something will need escaping, but with PHP 5.3's new "Nowdoc" syntax no escaping is needed.

The only difference between HEREDOC and NOWDOC is that the...

Sponsors


 

Related items

Confessions Of A Banned Digger
Just say no to scripts! The story of Brian Cuban (bcuban).

Total PHP: Browser based template editor
On the Total PHP blog today, there's a new tutorial showing how to make a very basic template editing form to update the templates for your site. ...

Lukas Smith's Blog: PHP 5.3.0alpha2 is released
In a new blog entry Lukas Smith notes that the latest alpha release, version 2, of the PHP 5.3 series is now available for download from the PHP QA...

Scripting Best Practices
LinuxPlanet: "Scripting languages are incredibly useful for quick-fix scripts. The problem with this is when the quick-fix script is still in place 6...

Convert diff output to colorized HTML
If you search the web you can find a number of references to programs/scripts that convert diff output to HTML. This is a bash version. read more ...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com