I have an echo statement that illustrates a table and some variables from a form. I am unable to display the variables. I created a work around, displayed here:
elseif ($tractor && $driver && $city)
{
echo '<table border="1" align="center" width="600">
<tr>
<td align="center" colspan="2"><b>SUCCESS!</b><Br>
The following entries have been SUCCESSFULLY Recorded!</td>
</tr>
<tr>
<td>Tractor Number:</td>
<td>';
echo $tractor;
echo '</td>
</tr>
Is there a way to include the PHP variable $tractor within the original echo or do I have to continue to echo and exit and echo each statement?
Thanks, you guys are great!