Reply to Re: need help with generating html source from the php

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация