Is it possible to change a script when it is running?

Links in java script or php?

  • so i am somewhat new to web development but i have bean studying MySQL, PHP, HTML, CSS, and i have started learning java script. i am a proficient programer so don't be afraid to use the tech speak. so my problem is this: i have a navbar running down the side of my web page. these links are subject to change in name and number but i can handle that with php and sql. what i want to do is have one page that will load differently depending on the link selected. so to recap i have a navbar that has a list of links and these links must all open the same page and pass the name of the link or something so that my script (which will be a php script) can load different content. And the code must open this page no matter what link is clicked because if someone is on the home page and they select something from the side navbar it needs to open the page then it needs to determine what content to load

  • Answer:

    if you store your content in the sql database then you can assign the content to variables set up on the master page.

Chuck D at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

if you store your content in the sql database then you can assign the content to variables set up on the master page.

Mark O

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.