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
Chan Choi 8 months 2020-12-11T02:10:18-05:00 0 Answers 7 views 0

Leave an answer

Browse
Browse