I am executing a php script which collects some variables from a form, then displays a page from a MySQL table. The page is displayed fine, but the echoed variable are not.
<h4>Conference Registration</h4>
<p><strong>
<?php echo $confName $confDate; ?>
</strong></p>
The expected result is that the two variable are displayed. I tested that the variable were available by inserting an echo command at the top of the page.
The actual result is that the variable are not displayed.
When displaying the page source in the browser and hovering over the <?php
line displayed in red, the following is displayed:
Saw "
<p
". Probable cause: Attempt to use an XML processing instruction in HTML. (XML procesing instructions are not supported in HTML.)