how can enter & retrieve strucured data(in htm)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

how can enter & retrieve strucured data(in htm)

Post by djdon11 »

HI Friends i have some different problem now...


well i have a facility to submit some comment of user , and then this comment is go into the database ,

for this i have a textarea in my page in which user can enter his comment that means user will enter this comment with the structure that means with line by line and with paragraphs but when we insert this information in the database then it goes without all this paragraphs declaration means not line by line and when we retrieve this information from the database and show this data on screen than also it is not in the structure as user gave it ..

for example - >

user give his comments like this - >

hi i am dj here

how are you

everything is fine here

** this text goes into the database like this - >hi i am dj here how are you everything is fine here ... means with no line by line

& when i show these text on my page than also it is not in the structure as user gave


can any body helps me out if this please
User avatar
Jaxolotl
Forum Contributor
Posts: 137
Joined: Mon Nov 13, 2006 4:19 am
Location: Argentina and Italy

Post by Jaxolotl »

Post Reply