html + php
Posted 29 May 2006 - 09:42 PM
<strong> HELLO </strong><br>
How are you guys doing today?<br>
thats what it comes out as if i do it that way but i just want to be able to hit enter with out putting html into it and haveing it add the html any easy way of doing this?
44 bugs in my java code
Fix 1 bug, and complie again
122 bugs in my java code
Posted 29 May 2006 - 09:56 PM
thats what I use. You will have to addapt it to your own need.
$message = nl2br(mysql_result($result,"message"));
$X = nl2br();
After that, floors open. I and anyone else will be MORE than happy to answer YOUR query! [Topic Solved]
Cheer up, the worst has yet to come...
Posted 29 May 2006 - 10:05 PM
You'll still have to do your text formatting tags like <strong> and such, but at least this way it will read the database entry with cariage returns
This post was brought to you by DynamicShark Media
[For Hire] - Small PHP Projects - Script Fixing, Development, WordPress
Read My Blog: www TylerIngram dot Com
Follow Me On Twitter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users