Inside the output (echo) you need to run a script, an error is displayed, please help with the syntax
if ($n!=$myrow4['liga']) echo " <strong>".$myrow4['para']."</strong> <span style='padding-top: 4px; font-size: 14px; color: #409E30;'> <strong>".$myrow4['stet']."</strong></span><br> <span style='padding-left: 4px; font-size: 11px;'> " if ($myrow4['vremya']!='') вывести {".$myrow4['vremya']."} иначе вывести {".$myrow4['natalo']."}" </span> </td> "; this option does not fit -> if ($myrow4['vremya']!='') echo "";