It doesn't bring back any HTML when I view the source:

<tr>
                 <td colspan=3 ><center>


                   </center>
                  </td>
                 </tr>

I tried the addslashes and stripslashes but I'm not sure that I had the
syntax right.  Any ideas?  Thanks.

Mark

"Dasmeet Singh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Markbm wrote:
> > 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
> >
> >
> >
>
> Can you tell what HTML do you get from web server..ie when you view
> source for your page?
> And probably there could be problem with "quotes". Try addslashes() and
> stripslashes().
>
> --
>
>
>
> ---
> http://hp.fedoxpress.com
> Get your own 'FREE VIRTUAL POST OFFICE'
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to