Parse error: syntax error, unexpected ‘echo’ (T_ECHO) in C:xampphtdocsAttendanceSystemresourcesphpmethod.php on line 250
Question
How to echo php variable in html that in String
$body = '<p style="font-size: 18px; line-height: 1.2; text-align:; word-break: break-word; mso-line-height-alt: 22px; margin: 0;"><span style="color: #2b303a; font-size: 18px;"><strong>Name: </strong><span style="font-size: 16px;">'echo $student_name'</span></span></p>'
0
1 month
0 Answers
7 views
0
Leave an answer
You must login or register to add a new answer .