Hey, was wondering if anyone can help me.
I have code from a database that uses mixed PHP and HTML. When I try
to output it (echo) it doesnt display the page correctly as theres a
echo within the DB code.

Example
Saved in DB :
<td width="237"><span class="stylebody"><?php echo $html-
>checkbox("User/news"); ?> (Tick for yes)</span></td>

Output on screen:
Recieve Specials and Discount Alerts :          checkbox("User/news"); ?>
(Tick for yes)

Saved on webpage:
<?php echo pack("H*",$content);?> //saved in Hex in the DB

So basically I want it to display the check box instead of
checkbox("User/news"); ?>

Any help much appreciated
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to