Hi there,
This is following on from a previous solved thread.
Basically, I have this code:
<td colspan="2" align = "center" style="color:#FF0000; font-weight:bold;">' . ((isset($_GET['error']) and ($_GET['error']=='recaptcha')) ?
'Error: The captcha was entered incorrectly. Please try again.' : '') . '
</td>
I've now been told that the "Error: The captcha..." message will need to be translated into French and German using the database that this company uses.
Elsewhere in the code, other things are translated like this:
'.$sb->dt('Enquiry Form').'
The '.$sb->dt....' sends the "Enquiry Form" text to the database for translation.
How can I simply incorporate the .$sb->dt into my first bit of code so that the Error message is also sent to the database?
I've tried various methods and keep getting syntax errors (due to my html being in php strings).