PHP

View:  
Sorted by:  

How to Write a Basic Text File in PHP for HTML5 and CSS3 Programming

Often, you'll want to do something in PHP as simple as record information from a form into a text file for HTML5 and CSS3 programming. Here is a simple program that responds to a form and passes the input [more…]

How to Read from the File in PHP for HTML5 and CSS3 Programming

If you can write data to a file in PHP, it would make sense that you could read from that file for HTML5 and CSS3 programming as well. The readContact.php program pulls the data saved in the previous program [more…]

How to Store and View CSV Data in PHP for HTML5 and CSS3 Programming

This basic mechanism for storing data in PHP is great for small amounts of data, but it will quickly become unwieldy for HTML5 and CSS3 programming if you're working with a lot of information. If you're [more…]

How to Use PHP File and Directory Functions for HTML5 and CSS3 Programming

Sometimes, you may need PHP to work with files in a directory for HTML5 and CSS3 programming. Say you have a reporting tool for a client. Each week, you generate a new report for the client and place it [more…]

How to Build an Object in PHP with Object-Oriented Programming

The PHP mechanisms for object-oriented programming (OOP) are important to learn because many of the advanced libraries you're likely to use are object-oriented, and because properly implemented OOP can [more…]

How to Use Inheritance in PHP with Object-Oriented Programming

Object-oriented programming in PHP has another feature which makes it very useful for large projects. Many objects are related to each other, and you can use a family tree relationship to simplify your [more…]

How to Catch Exceptions in PHP for HTML5and CSS3 Programming

Real-life HTML5 and CSS3 programming is dangerous. Lots of things can go wrong in PHP. So the smart way to program data is defensive programming. This practice involves anticipating errors and trying to [more…]

How to Make For Loops with PHP for HTML5 and CSS3 Programming

Sometimes you want to repeat something as an HTML5 and CSS3 programmer. PHP (like most programming languages) supports a number of looping constructs. Begin with the humble but lovable loop. [more…]

How to Read CSV Data in PHP for HTML5 and CSS3 Programming

If you’re working with delimited data is PHP for HTML5 and CSS3 programming, you may want to read in the CSV data yourself. It's not too difficult to do. Look over the following code for readContactCSV [more…]

Listings:back...101-109
Advertisement

Sign Up for RSS Feeds

Computers & Software
Win $500. Easy. Enter to win now.

Inside Dummies.com