troubleshooting Question

I am rusty at javascript and php.

Avatar of rblampain
rblampain asked on
Web Languages and Standards
3 Comments1 Solution452 ViewsLast Modified:
I am a sporadic user of javascript and php and everytime I have to write a snippet of code it takes me far too long to re-learn enough to do what I need to do.
Perhaps someone could point me in the right direction for what I have to do now in either javascript or php.

I have some text that must appear in different html pages but it must be exactly the same and needs regular updating.
So I'd like to have this text in one file so it can be easily and safely updated,  I also need a method of including or inserting this text in  a specific place in different html pages.  In other words, when the html pages are invoked, the text is not in them but there is code that will insert and display the text.
It looks like php is probably more suited for the task but either php or javascript will do.

Can anyone suggest how to tackle this?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros