how to create template file in php. why it is usefull
ravimane and php,mysql that code that is same in two page no need to write twice , just make one file having that code and call or include anywhere you want. everyone have been trying with .tpl.php extension. but doesn't matter what you want take, but with .php extension. that cool na .so check out below and seek whatever you want . below i made three file top.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="css/style.css" type="text/css"> <meta name="Author" content="YOUR NAME HERE"> middle.php </head> <body> <div id="banner"> <img src="xyzlogo.gif" alt="XYZ, Inc. logo"> </div> <div id="menu"> <a href="index.php">Home</a> | <a href="sitemap.php">Sitemap</a> | <a hr...
Comments
Post a Comment