DarkDragonLord
New Member
- Messages
- 782
- Reaction score
- 0
- Points
- 0
Are "contact_thx" and "contact_error" javascript variables? Your php code needs to be self-sufficient. The javascript will only dump out what the php writes; it will not examine the variables. So within the php code you need
And then your echoes would be:
and
Notice in the second echo, "contractarea|" was missing in your code as well, which is what told the javascript where to put the message.
Hope this helps.
the $texto[''] are variables from multi language system.
So, it get the lang value in the url and then get in the correct language file the message.
In the language files are a pt.php with portuguese and en.php with english. both have $texto['something'] but in each, have $texto['something'] = "Esta errado" for portguese and $texto['something'] = "its wrong" for english.
got that xD?