Re: Fw: what is wrong with this sniplet? oops! forgot to close tag
| From: | Philip Olson | Date: | Tue, 16 Jan 2001 10:11:41 +0000 |
| Subject: | Re: Fw: what is wrong with this sniplet? oops! forgot to close tag | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34787@lists.php.net to get a copy of this message | ||
Hi Jack,
Firstly, this is an HTML issue. You can lose the ; and I'd run your page
through a validator, such as :
http://validator.w3.org/
It must be a table issue or something. For example, when isolated this
works just fine :
<table>
<tr>
<?php
print("<td>");
print("<input type='button' value='back'
onclick='self.history.back()'>");
print("</td>");
?>
</tr>
</table>
Regards,
Philip
On Tue, 16 Jan 2001, Jacky@lilst wrote:
>
> Oops, forgot that I actually close the input tage, the previous one was the mistype.
> print("<td>");
> print("<input type='button' value='back'
> onclick='self.history.back()';>");
> print("</td>");
>
> what happen was that when the html page was generated, that specific part did not apear on the
> page, although the source can be seen using view source.
> What did I do wrong?
> cheers
> Jack
> jacky@activelifestyle.com
> "There is nothing more rewarding than reaching the goal you set for yourself"
>