View Single Post
  #1 (permalink)  
Old February 29th, 2012, 04:57 PM
mike_abc mike_abc is offline
Authorized User
Points: 173, Level: 3
Points: 173, Level: 3 Points: 173, Level: 3 Points: 173, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2004
Location: , , .
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reload "same webpage" in different languages

Hi,

I want to reload the same (dynamic) page, it's content in several languages, by clicking little flags which are located at a precise, same place on the page - AND ITS NOT WORKING !!

The click triggers a php script which basically says

Code:
$_SESSION['lang'] = <Some_language>;
require ('webpage.php');
where webpage.php is the dynamic page, in succesive languages, with it's content drawn out from the database which contains the content in all languages I chose to display.

Upon start, the webpage is displayed correctly. But when I click the flag which should reload the same page in a different language, lots of contents in the page are missing (pictures, mainly).

And when I look at the page html (View Page Source) - it seems OK !

Mike

Last edited by mike_abc; March 1st, 2012 at 03:24 AM..
Reply With Quote