or \n Not working in echo statements (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: or \n Not working in echo statements
|
buffala (User)
Fresh Boarder
Posts: 1
|
|
or n Not working in echo statements 2 Years, 3 Months ago
|
Karma: 0
|
|
Is there something else that i have to do to get a new line from <br /> with in an echo statement like:
echo 'hello world' <br />";
Everything that I enter similar to that statement renders on the same line.
Any help is appreciated.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
admin (Admin)
Admin
Posts: 475
|
|
Re:or n Not working in echo statements 2 Years, 3 Months ago
|
Karma: 10
|
|
You'll need to use <div>hello world</div> or <p>hello world</p> instead of <br />.
Unfortunately, Joomla removes newlines from extension parameters automatically. This is a problem that has been there since Mambo.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
hal (User)
Fresh Boarder
Posts: 2
|
|
Re:or n Not working in echo statements 2 Years, 1 Month ago
|
Karma: 0
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|