I am using my codeigniter success message for this question. I would like it to echo out the $firstname that is being passed through but I am unsure of the correct syntax I have tried the following:
$this->session->set_flashdata('success','Thank's .'$firstname.' please check your email for confirmation');
but the above gives me the following error:
Parse error: syntax error, unexpected T_VARIABLE
Misplaced quote at
'Thank's .'$firstname.'. Corrected below: