Jump to content

Normal HTML to PHP with language change function


kisleki

Recommended Posts

Hi for Everyone!

 

I am totally new at PHP programming... I think uve heard it a lot... :)

So my question:

I have got a nrmal HTML frameset with 3 frames.

One for logo ( has to be changed )

One for all contents ( has to be changed, consists 2 frames [menu and the readable content ])

One footer frame what should consists one link to change the site English and when its on English change it to Hungarian

 

Ive tried to make it but that wasnt succesfull. for me the basic things are missing and i have still syntax problems.

 

So where should i take the code about changing function? Is that function or session and what is the main logic it should works?

My idea: take the main function about changing to the main( index.php ) and call it from footer with a link ( or button )

and i think the variables should store at a config.php file.

 

But where to take the codes and how can someone write it to me? with a small explaination? I want to understand how does it work. I want to write it by myself after.

 

Thanks a lot for help: Peter

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.