Posted by Sanders Kaufman on 09/27/07 12:07
"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.
[Back to original message]
|