Answer the question
In order to leave comments, you need to log in
How to make html php from a string?
Hello, there is a code like this
'<html><head></head><body>Test message</body></html>
$body ="<table width=100% border=0><tr><td>";
$body .= "<img width=200 src='";
Answer the question
In order to leave comments, you need to log in
I don't understand where you get "body=" on the screen, but generally run the html through urldecode.
But in general, you have chosen a bad implementation path.
Letters are not sent that way. You must have prepared letter templates that are in separate files, you read them and substitute the necessary data into the templates.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question