teelou teelou - 1 year ago 111
PHP Question

Making a new line with single quotes?

Can I do a line break like this


Or do I must use double quotes -

Answer Source

You have to use double quotes. Otherwise, PHP will literally output \n.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download