Re: [PHP] eval on php embedded html

2002-01-24 Thread Atanas Vassilev
> So, either: > > > > Or > > I found it very convenient for in-html coding to use the following structure: > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-

[PHP] Problems writing the TM (™) symbol when generating XML file

2002-01-24 Thread Atanas Vassilev
I'm generating an XML file and because of the later purpose of this XML file I need to write all occurrences of the TM symbol using "™" code instead of "™". However, no matter how I write this symbol in the input text fields, holding ALT and typing 0153 or just entering "™" in the end I always get

[PHP] Re: Clear form post data

2002-01-24 Thread Atanas Vassilev
The general approach when a form has $PHP_SELF as the action value is to use a switch construct and in one of the cases perform the mentioned db operations, in all other cases (depends what variable you'd be switching) simply do not perform them. HTH, Nasko "Conrad Strydom" <[EMAIL PROTECTED]> s

Re: [PHP-I18N] Encoding detection

2001-03-20 Thread Atanas Vassilev
e cyrillic symbols. What can I do about this? Gustav Foseid <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Atanas Vassilev: > > I formed my include like this: > > include "lang_".$HTTP_ACCEPT_LANGUAGE.".INC"; &g

Re: [PHP-I18N] Encoding detection

2001-03-19 Thread Atanas Vassilev
of German. Any ideas as to what the workaround for this would be? Gustav Foseid <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Atanas Vassilev: > > I need a way to detect default browser encoding so that i can set a > > variable fo

[PHP-I18N] Encoding detection

2001-03-18 Thread Atanas Vassilev
Hello everyone, I'm new to this list and I guess this question might already have been asked but all my searches led me to nothing... I need a way to detect default browser encoding so that i can set a variable for language and present the whole site in different languages based on encoding. I k