When you´ll catch data for a text field, you ought to use a 
<textarea></textarea>.

When you´ll pull it from the database to the screen, you have to use 
nl2br($field) to conver \n to <br>.


"ali asghar torabi parizy" <[EMAIL PROTECTED]> escreveu na mensagem 
news:[EMAIL PROTECTED]
> hi
> i am creating web newsprogram by php and mysql.
> how to i can use text data type for saving contents of articles in 
> database?
> when i use text format,contents save in the tables unless eny new line.
> howto i can insert \n element in text format?
>
>
>
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call 
> rates. 



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

  • text datatype ali asghar torabi parizy
    • Re: text datatype Jo�o C�ndido de Souza Neto

Reply via email to