Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 04-22-2013, 02:57 AM   #1
noahwilson
Registered User
 
Join Date: Mar 2013
Posts: 246
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?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
noahwilson is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
testing php pages ncjbhd PHP / mySQL 2 10-09-2014 11:10 PM
php mail script help. noahwilson PHP / mySQL 4 04-19-2013 03:40 AM
Run a php script every hour ncjbhd PHP / mySQL 1 10-14-2011 04:50 AM
form to file script. php or html mjvndhsb PHP / mySQL 0 10-07-2011 08:55 PM
Single javascript across multiple pages. mjvndhsb HTML / DHTML 0 09-28-2011 02:07 AM


All times are GMT -7. The time now is 01:59 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.