Jump to content

Archived

This topic is now archived and is closed to further replies.

fert

HTML in PHP?

Recommended Posts

I want to know can you use html in a php code block? [img src=\"style_emoticons/[#EMO_DIR#]/unsure.gif\" style=\"vertical-align:middle\" emoid=\":unsure:\" border=\"0\" alt=\"unsure.gif\" /]

Share this post


Link to post
Share on other sites
Never mind i found out how to [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]

Share this post


Link to post
Share on other sites
There are really lots of ways to do it.
The basic is using echo or print:

[a href=\"http://www.php.net/echo\" target=\"_blank\"]http://www.php.net/echo[/a]
[a href=\"http://www.php.net/print\" target=\"_blank\"]http://www.php.net/print[/a]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.