wellfiled.com wellfiled.com wellfiled.com
  Site Home >> About Us >> Place Your Link >> Privacy >> Terms of Service >> Add Your Article
Search:   
Add Url
 

Property & Agents

Business & Services

Education & Reference

Family & Home

People & Society

Hygiene & Health

Vehicles & Automotive

Relationship & Lifestyle

Science & Research

Recreation & Entertainment

Employment & Careers

Finance & Banking

Self Help

Adventure & Sports

Issues & News

Software & Networking

Politics & Government

Shopping & Auction

Drink & Food

Travel & Vacation

Indoor Games

Art & Creative

Healthcare & Medicine

Children

 

Site Home –› Software & Networking –› Web Development Services
 

Building an Easier Site with PHP Modules

 

Having hundreds of pages to manage can be a lot of work when it comes to revisions, such as changing the site menu or a list of links.

I have found an easier way to keep my editing time to a minimum with using what I call PHP Modules.

For example, we'll build a menu module, we'll cut all of our menu images & links from our pages leaving behind only the empty tables & then create a new page menu.php without any headers and paste our menu code.

Then in the empty tables we'll add the code:
< ?php
include_once "menu.php";
? >

Now the next time I need to change the menu I'll only need to edit menu.php & the other 300 pages will automatically be updated, slick right?

Note: To use this PHP code you'll need to change all of your pages from .HTML to .PHP or use a java script to parse the PHP code. You wont need to change any of your html code as web browsers will render your pages the same way as .html

I recommend changing your pages to PHP because once you start working with PHP you will find a lot free scripts that you can use to make your site more exciting & interactive than with html alone.

Author: Mike Mason
 
Author Bio:
Mike Mason is a popular columnist. Mike likes to pen down articles about this area.
 
 
 

Related Articles

 
Project Management Software: What It Can Provide
 
Ten Steps to Boost Your Affiliate Commissions Today
 
Upgrading Great Plains Dexterity Customization - switching to new technologies: SQL, Crystal, eConne
 
Electronic Signature Solutions - Custom or 3rd Party
 
Beneath the Surface of Internet Marketing
 
How Important is Content to a Successful Website
 
Renting Accounting Software
 
Marketing Your Online Business - Effective Search Engine Optimization
 
You Have to Think Like Them
 
Through The Looking Glass
 
 
 
   Site Home >> Privacy >> Terms of Service
Copyright © 2006-2008 www.wellfiled.com - All Rights Reserved.