HI,
Relatively new to php here but experience with html & css.
I have recently taken over a project from somebody, and I'm trying to make some minor adjustments to a few areas (mostly aesthetic). The system as a whole works fine, and can read from/write to the databases, as well as send emails etc...
However I am encountering an issue which has me stuck, I have a button on my site 'compose email to user', when clicked a table is pulled from a database (ip_requests) displayed within a tinymce editor, 2 columns, 10 rows, border etc.. however when I click 'send' the table does in fact send successfully but the formatting seems to be ignored. The email arrives, containing all the information, however no border, bold, or coloured table cells.
It seems like there is a 'strip html' command somewhere.
Below is a sample of the code that produces the table within the tinymce editor;
$strHtmlOutput.= ' <tbody> <tr> $strHtmlOutput.= '<tr> <th>Date of Request</th> <td> '.$result['cdate'].' </td> </tr> '; $strHtmlOutput.= '<tr> <th>Date Last Modified</th> <td> '.$result['mdate'].' </td> </tr> '; } $strHtmlOutput.='</tbody> </table>';
There is a lot more code in the page itself, however maybe some whizz will be able to help me based on the above code only? Excuse my ignorance in this!
I have lots of 'compose email to user' buttons on my sitem which allows me to send the data on screen to an individual via email, but they all do the same (strip email formatting). So this must be a global setting?
Any help would be appreciated.
Thanks in advance,
J