Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
dumbass q - mysql i <br>

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 27.03.2004 19:26    Post subject: dumbass q - mysql i <br> Add user to your forum ignore list Reply with quote

ovako - kada upisem neki text i odvojim recenice sa enterom (neznam kak da drukcije kazem Very Happy) u mysql mi u tablici izgleda kako sam napisao. samo fale <br>-ovi.
sample code
Code:

mysql tablica ->

Ovo je
test !!

Ispis

Ovo je  test!!


sada, kako da stavim te <br> -ove, mislio sam da ima \n pa to zamjnim sa <br>..
??

Tenkju !

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
blind*dragon



Joined: 05 Jan 2004
Posts: 46

PostPosted: 27.03.2004 19:59    Post subject: Add user to your forum ignore list Reply with quote

u PHP-u se to rješava naredbom nl2br, ta naredba će prepoznati
linije i ubaciti <BR>

Znači ako želiš nešto ispisati iz mysql tablice onda:
Code:
echo nl2br($row['...']);


nl2br(...tu staviš taj tekst...);

Laughing Laughing

_________________
blind dragon
Back to top
View user's profile Send private message
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 27.03.2004 21:09    Post subject: Add user to your forum ignore list Reply with quote

spank you ! Very Happy

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group