PHP Sample

<

Something very simple, but very helpful, is the use of templates. Having content being multiplied on other pages without copying and pasting the sample code on each page, and just being controlled on one page! Here is a small piece that you can try right now.

On your computer, to go "Start" - "Accessories" - and pull up "Notepad"

Save a file called "index.php" and type on the page your php tags. In between your tags, type in:

This is a test

Create a new file and call it "Template.php".

Enter your php tags.

In between the tags, enter:

include_once "index.php";

and then save the file.

Upload the files to your server, or use your wamp, and enter the file address into your search bar to view your results!
Happy Coding!

Jason is a custom website developer and graphic designer with extensive experience in computer software scripting, computer animation, and customer service. His current focus on creating websites and creating e-commerce stores is preceded by 10 + years in software development, and eight years in the U.S. Navy.

Sample Codes

HTML

Css

Javascript

jQuery

Ajax

PHP

Contact Details
News Letters