You are here: Re: need help with generating html source from the php « PHP Programming Language « IT news, forums, messages
Re: need help with generating html source from the php

Posted by Shelly on 09/27/07 13:08

"Sanders Kaufman" <bucky@kaufman.net> wrote in message
news:82NKi.37169$RX.8150@newssvr11.news.prodigy.net...
> "shror" <shahirwm@gmail.com> wrote in message
> news:1190829223.398719.48620@22g2000hsm.googlegroups.com...
>> Hi every body,
>>
>> I need your help in a problem am facing,
>> I have two forms on my website which when submitted they goto single
>> page (confirmation.php) and the two forms are for English and Arabic
>> versions and what I want to do is to create a single confirmation page
>> which is responsible to send the forms values.
>
>> What I want to do is that when the arabic form is submitted the
>> confirmation echos arabic succesful note and when english an english
>> successful note is echoed which is easy to do but my problem is that
>> the <head> section of the confirmation contains a redirection meta tag
>> for the home page and I want the meta tag to be generated according to
>> the language interface, and I dont know how to generate HTML using the
>> php so please if anybody could help me this will be really
>> appreciated.
>> or even to direct me to a tutorial for this situation.
>
> That's difficult to impossible to say - without seeing the code.
> I think it boils down to one comment - "I don't know how to generate
> HTML".
>
> You could probably resolve your issue by finding the place in the code
> where the META tag is generated and then to use a conditional
> (if-the-else) to generate the appropriate line.

An interesting question occurred to me. Using the if statement outlined
previously in this thread, what happens with the echo when the desired
language reads from right to left and not left to right? Is it simply that
the entire string is captured in the quotes and so appears on the screen as
right to left? If that is the case, then what happens with word wrap?
Wouldn't it then break at the beginning of the sentence rather than in the
middle? (I have only worked on English sites).

Shelly

 

Navigation:

[Reply to this 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

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