RE: [PHP] PHP 4.3.2, HTML and MSSQL2000
| From: | Jay Blanchard | Date: | Fri, 07 Nov 2003 14:30:37 +0000 |
| Subject: | RE: [PHP] PHP 4.3.2, HTML and MSSQL2000 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168849@lists.php.net to get a copy of this message | ||
[snip]
Does it have something to do with the script being inside the
<div></div>
statement?
<div id="Oobj220"
style="position:absolute;z-index:74;visibility:visible;
left:612px;top:96px;width:110px;height:21px;">
<span id="Ggeo201" class="dfltt">
<?php
echo "<input type=text name=reportnum size=20 value=$reportnum>";
?>
</span>
</div>
[/snip]
Aside from the HTML being badly formed in the echo statment (all
attributes should be double-quoted) i.e.
echo "<input type=\"text\" name=\"reportnum\" size=\"20\"
value=\"$reportnum\">";
it would appear that something in your dfltt class may be causing the
problem. This is more of a CSS or HTML problem and would have a better
chance at a solution on one of those lists. As for the script it doesn't
care where it lives as long as the syntax between the <?php ?> tags is
correct...and appears to be.