HTML button display problem
| From: | markbm | Date: | Fri, 19 Jul 2002 18:44:26 +0000 |
| Subject: | HTML button display problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20663@lists.php.net to get a copy of this message | ||
I am working through an issue where I'm trying to display HTML code, stored
in a text field in a MySQL database. The code that I have looks like this:
<tr>
<td colspan=3 ><center>
<?php printf($result[PAYPAL_BUTTON]); ?> </center>
</td>
</tr>
This code displays nothing when viewed on the web server, although the
contents of the db field are:
<FORM method="POST" >
<P><INPUT type="submit" value="Submit" name="subBut">
</FORM>
Question:
1. How do I get this code to display correctly (i.e. create the button /
not show the underlying HTML)?
Any help would be greatly appreciated. Thanks for your help.
Mark