ok I have this image code inside my db
<img src="images/dir_48.jpg" width="119" height="114" alt="">
now when I select it and echo it out it justs shows up like that in the browser...
How can I make this output into actual image on my site?
Are you sure that it is stored like that in your database? I would guess that it might be stored with html-encoding. Anyway, two good functions that will probably solve your problem is [man]htmlspecialchars[/man] and [man]htmlspecialchars_decode[/man].
ok decode works.. now is this the best way to do this?
thank you very much.... and second... in my db
what should the column type be to enable a bigger block of html code?
No, it is not the best way to do it. You should not store htlm-encoded text in the database, you should store the actual values you want. The way you currently do it may cause trouble if anything except the version of PHP that you use now is used to access the database.
About your second question: RTFM