Error when deleting with PHPMYADMIN
Posted: Sun Jun 29, 2003 5:51 am
Hi,
I have a column in a database called products. The column name is info, and it contains the products info. The option for this column is TEXT. What it contains is for an example:
gfjkgjfg
<br>
fdfsdfsdf
<br>
<br>
fsdfsdfsdf
The problem is that when I have new lines in the column, it want be deleted. To delete it i have to smash the whole content together.
Like this:
gfjkgjfg<br>fdfsdfsdf<br><br>fsdfsdfsdf
Then it wil delete. What is this all about? I have to have new lines in the colums since the info comes from a text box. When inputting data to the database I use nl2br() in the info column.
I have a column in a database called products. The column name is info, and it contains the products info. The option for this column is TEXT. What it contains is for an example:
gfjkgjfg
<br>
fdfsdfsdf
<br>
<br>
fsdfsdfsdf
The problem is that when I have new lines in the column, it want be deleted. To delete it i have to smash the whole content together.
Like this:
gfjkgjfg<br>fdfsdfsdf<br><br>fsdfsdfsdf
Then it wil delete. What is this all about? I have to have new lines in the colums since the info comes from a text box. When inputting data to the database I use nl2br() in the info column.