Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

automatic word wrap for Product Information


Digerdoo

Recommended Posts

automatic word wrap for Product Information

 

i have used <br> & <p> in my product information so how i can now take it of all my products easyly ? I have almost 5000 products ?

 

:'(

Link to comment
Share on other sites

automatic word wrap for Product Information

 

i have used <br> & <p> in my product information so how i can now take it of all my products easyly ?  I have almost 5000 products ?

 

:'(

 

 

why do you want to do that?

 

there is functions that take care of this when displaying.

 

If you need to remove it form the database, you will need sql replace statements. Depending on usage though ... as it may be that you'd end up with no space between two words.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

why do you want to do that?

 

there is functions that take care of this when displaying.

 

If you need to remove it form the database, you will need sql replace statements. Depending on usage though ... as it may be that you'd end up with no space between two words.

 

if i don't use this new automatic word wrap for Product Information i have to remove all <br> <p>

 

because if i don't remove it look like this :

 

 

line1

 

line2

 

line3

 

 

there is extra space between lines...

 

 

:'(

Link to comment
Share on other sites

if i don't use this new automatic word wrap for Product Information i have to remove all <br> <p>

 

because if i don't remove it look like this :

line1

 

line2

 

line3

there is extra space between lines...

:'(

 

well if you must go ahead and use replace! be sure to make a backup of your database, and I hope you're not working on a live site.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

well if you must go ahead and use replace! be sure to make a backup of your database, and I hope you're not working on a live site.

 

yes i just took it extra backup and now i edit sql file and use replace statement erase all <br> <p>

 

thanks for a tip

 

:thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...