Re: what is wrong with this sniplet?

From: Date: Tue, 16 Jan 2001 09:36:25 +0000
Subject: Re: what is wrong with this sniplet?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34784@lists.php.net to get a copy of this message
print("<input type='button' value='back' onclick='self.history.back()';"); lacks a > at the end of the input-tag print("<input type='button' value='back' onclick='self.history.back()';>"); ----- Original Message ----- From: "Jacky@lilst" <jacky@activelifestyle.com> To: <php-general@lists.php.net> Sent: Tuesday, January 16, 2001 11:28 PM Subject: [PHP] what is wrong with this sniplet? Hi people Looking for a piece of advice about what is wrong with this sniplet and what is the right one. I tried to write the html using print(""); as below: 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"

« previous php.general (#34784) next »