Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
or \n Not working in echo statements (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: or \n Not working in echo statements
#1059
buffala (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1060
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1155
hal (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:or n Not working in echo statements 2 Years, 1 Month ago Karma: 0  
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.