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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.