The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Retaining line breaks when data comes back out of mysql?
I have a project I am working on and I have data saved in my database that has line breaks retained. My problem is that when I go through and pull the row of data from my database and put the cells into a $variable I no longer have the line breaks....
As an example: $name=$row[name]; $seasons=$row[seasons]; Assuming that $seasons is a list of seasons with line breaks or white space to format the output... what command do I need so that the output will retain line breaks? Thanks! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|