Page 1 of 1

A little Problem with language file

Posted: Mon Sep 27, 2010 8:05 pm
by getathaivisa
Hi.

I am pretty new to coding and i have been doing a bit of repair work to one of my websites that was coded by someone else.

I have a multi-language portal, and in the english file there is a text string that displays on the page for registration success. The terxt string itself should be showing the email address just used to sign up...see below.

$lang[183]['title']="Thank you, your form has been submitted successfully. We have sent an email. to <".$data['email']."> To activate your account. Please check your junk or spam folder if it is not in your inbox... sometimes your email provider will read the activation email as spam, and put it into your junk folder. To prevent this from happening, please add us to your contacts list.";

this is what is showing on the actual frontend page

Thank you, your form has been submitted successfully. We have sent an email to <> To activate your account. Please check your junk or spam folder if it is not in your inbox... sometimes your email provider will read the activation email as spam, and put it into your junk folder. To prevent this from happening, please add us to your contacts list.

What would you suggest was the problem?

Thanks in advance

Re: A little Problem with language file

Posted: Mon Sep 27, 2010 10:18 pm
by Jonah Bron
From what I can see, the code you gave has perfect syntax. The only thing possible if that's true is if $data['email'] is empty or doesn't exist. Try echoing it out by itself for debugging.