Let's say you were building a database to keep track of all your stuff. You have two (or more) tables, each of which have slightly different structure. For records/cds/tapes, you have artist, title, run time, label, and media format, but for books you have artist, title, pages, publisher, and format (hard cover versus soft cover versus ebook etc...)
By creating a single view of those tables called inventory, you can now have a generic way to pull up all the data in those different tables as though they were one.
Now, if you make minor changes to one table, all you have to do is recreate the view to reflect that properly to the code, and you don't have to change one line of PHP (or C, Java, Perl etc...) code.