Re: HTML button display problem

From: Date: Fri, 19 Jul 2002 18:50:16 +0000
Subject: Re: HTML button display problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108558@lists.php.net to get a copy of this message
On Friday, July 19, 2002, at 02:44 PM, markbm wrote:
                 <?php printf($result[PAYPAL_BUTTON]);  ?>  </center>
                 </td>
[...]
1. How do I get this code to display correctly (i.e. create the button / not show the underlying HTML)?
Are you sure you want to use the printf() function? Try using print() instead. Also, unless PAYPAL_BUTTON is a constant, you probably want to quote that associative array element ($result['PAYPAL_BUTTON']). Erik

« previous php.general (#108558) next »