News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Tiffany Brown's Blog:
Turn text files into pull down menus
0 comments :: posted Wednesday February 27, 2008 @ 09:35:00
voice your opinion now!

Tiffany Brown shares a quick function she whipped up to create dropdown menus from the contents of a newline separated text file (or files).

I developed this PHP function for a project I'm working on. I'm posting it here in case I need it again, or in case you find it handy.

The function turns each line into an option tag making defining custom menus based on the contents of dynamically-given text files easy.

This could also be easily adapted to create navigations menus at the top of your pages with a few modifications to the HTML tags being used and some CSS to change the look of the list.

tagged with: text file dropdown menu form element navigation css


DevShed:
Working with Images and Text Flows in PDF Files with PHP 5
0 comments :: posted Wednesday November 14, 2007 @ 10:26:00
voice your opinion now!

DevShed has posted the next article in their tutorial series dealing with PDF generation in PHP5. Previously, they've discussed the creation of the file and the addition of text, this time they take it further with new functionality - images.

At this point, you hopefully recall how to use the previous methods to display multiple lines of text in a concrete PDF file, so it's time to learn a few more method bundled with the library. As you'll see in the next few lines, these methods can be quite helpful for performing other tasks, like including images and blocks of texts into the PDF file in question.

They list out the complete source so far to provide a refresher before starting, then move on to the new functionality - adding a basic image and positioning it and creating and adding a text field to your sample PDF.

tagged with: php5 text image tutorial pdf create php5 text image tutorial pdf create


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

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