|
Posted by shror on 09/27/07 07:14
On Sep 26, 10:21 pm, macca <ptmcna...@googlemail.com> wrote:
> Me thinks you need to read up a bit on php. Tryhttp://w3schools.com/php/default.asp
>
> $language = 'Arabic';
>
> if ($language == 'Arabic'){
>
> echo "<html><head><title>Some HTML and Arabic stuff</title></head>";
>
> } elseif ($language == 'English'){
>
> echo "<html><head><title>Some HTML and English stuff</title></head>";
>
> } else {
>
> echo "You must choose a Language";
>
> }
>
> Regards,
>
> Paul
I tried your example Paul and It worked great I really feel as dumb
but I have a small problem I don't know why it happened, I have
created a page using notepad and saved it .php and Unicode, but when I
tested it online it was not working so I Saved it as ANSI and tested
it once more and the code worked correctly why is this happening
Thanks for help in advance and the previous help too
shror
Navigation:
[Reply to this message]
|