Jump to content

Recommended Posts

really what I wrote is just a neater way of writing what the OP had, the way that you wrote it will not cause a timeout...that is normally caused by an infinite loop or something along the sorts...are any errors reported here?

 

edit: also, the newline character that you have in your code "\n" is irrelevant if this is to be parsed as HTML, use a break "<br />" instead

edit: also, the newline character that you have in your code "\n" is irrelevant if this is to be parsed as HTML, use a break "<br />" instead

 

The \n is not irrelevant. It causes a newline in the underlying markup itself.

edit: also, the newline character that you have in your code "\n" is irrelevant if this is to be parsed as HTML, use a break "<br />" instead

 

The \n is not irrelevant. It causes a newline in the underlying markup itself.

i know what it does, it's not needed..but the code is fine with it there as well, was my point

if the OP is looking to create a new line and is viewing this as HTML in the browser, which i presume he is, chances are the newline character "\n" will not give him a line break...

which is why i suggested using the html break tag..

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.