News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

DevShed:
Handling HTML Strings and Files with the DOM XML Extension in PHP 5
0 comments :: posted Wednesday March 26, 2008 @ 08:46:05
voice your opinion now!

On DevShed today, they continue their series looking at working with XML in PHP with the DOM functionality with the fifth part of their series, a look at working with HTML strings and file data.

Understanding how to use the methods and properties provided by this library requires a little effort from you, despite its fairly easy learning curve. [...] The DOM XML extension has plenty of options when it comes to moving portions of an XML document (or even the entire document) from one place to another. This is certainly a process that can be performed with minor hassles by utilizing the intuitive DOM API mentioned in the beginning.

They show how to use loadHTML to pull in the text from an HTML string and use loadHTMLFile to pull it in from an external HTML file. Finally, they show how to write the data and whatever changes you might have made to it, back out to a file with saveHTMLFile.

tagged with: tutorial dom extension xml handling html savehtmlfile loadhtml loadhtmlfile


PHPF1.com:
PHP Form Tutorial
0 comments :: posted Tuesday September 18, 2007 @ 20:35:00
voice your opinion now!

Balazs Kovacs has posted an introduction to using forms in a PHP script, a vital part of any online application.

If you have ever made any HTML page or started dynamic web programming then you probably have already meet with forms. Forms are special components which allows your site visitors to supply various information on the HTML page.

His example goes all the way from showing an example of an HTML form out to handling the data submitted to it and validating that to ensure correctness.

tagged with: form tutorial example handling validation beginner form tutorial example handling validation beginner


mysql book zend security PHP5 release releases PEAR database pecl developer framework job cakephp ajax application package conference code zendframework

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework