Hello,
Here's my dilema...
I have certain data being entered into my MySQL database. The for mat the data show up in isn't always the same, but I need it to be entered into my DB the same each time...
Here's how things have been going into my database:
Example 1: <BR>Data1
Example 2: Data1<BR>
Example 3: <BR>Data1<BR>Data2
Example 4: <BR>Data1<BR>Data2<BR>
Example 5: Data1<BR>Data2<BR>
Example 6: <BR>Data1<BR>Data2<BR>
Now, the data has been going in in one of these patterns...so, you can see when I query my database the HTML can look a little funky...
Before this data goes into my DB, I'd like it to be formatted in 1 of 2 ways:
<BR>Data1<BR>Data2
<BR>Data1<BR>Data2<BR>
Data1<BR>Data2<BR>
<BR>Data1<BR>Data2<BR>
I'd like what's in betwen those break tags to be seperated by commas, of course getting rid of those pesky breaks at the beginning and end of the strings...
Any help is appreciated!
Thanks in advance!