|
|
|
|
TUTORIALS
Basic PHP Using "require" to include hypertext within a web page allows dynamic page creation. Create a page using notepad and name it "basic.php" Within the page use the keyword "require" within the <? and ?> tags: <? require("top.inc"); ?> Here is the basic.php file to see the most basic php example of html code reuse. This allows the file named "top.inc" to be used over and over. If you need to change something in the "top.inc" portion of your web pages you can just make the changes once and all the files will be updated. |