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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to