Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   How do I connect a single PHP script to multiple pages? (http://siteownersforums.com/showthread.php?t=64574)

noahwilson 04-22-2013 02:57 AM

How do I connect a single PHP script to multiple pages?
 
I want to display a "Last Published" date on my site's articles using PHP. My site files are PHP pages.Originally I had a piece of code in each article page, however I've now learned that is very bad design. What code would I insert in my article pages to connect to a single, separate php script file, so that my "last modified" date will show up in my articles?


All times are GMT -7. The time now is 05:12 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.