Hi guys,
I am sending out an email with PHP, but the url in the email keeps breaking over two lines if it is slightly longer.
Is there anyway I can stop the link breaking, because then the url no longer works???
thanks
| SitePoint Sponsor |



Hi guys,
I am sending out an email with PHP, but the url in the email keeps breaking over two lines if it is slightly longer.
Is there anyway I can stop the link breaking, because then the url no longer works???
thanks



You can use tinyurl to turn long urls into small ones .. you can also wrap the link in <> brackets to maintain their functionality over two or more lines.

Surrounding it in < > works for most email programs as long as it is all passed in one piece in the email itself.
For example
<http://wwww.felgall.com/award/status.htm>
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">



thanks alot guys.
i wasnt aware of using <>
Bookmarks