Porkie Posted April 27, 2009 Share Posted April 27, 2009 below is the line i want to show echo nl2br("<h2>Your Data has been submitted to our Support Team </h2>") ; i can i get this on the line below the that piece of code? <a href="http://www.getrecognized.co.uk">Home</a> cheers Quote Link to comment https://forums.phpfreaks.com/topic/155908-little-coding-help/ Share on other sites More sharing options...
Cosizzle Posted April 27, 2009 Share Posted April 27, 2009 umm... echo nl2br("<h2>Your Data has been submitted to our Support Team </h2>") ; echo linkName "<a href='http://www.getrecognized.co.uk'>Home</a>"; correct? Quote Link to comment https://forums.phpfreaks.com/topic/155908-little-coding-help/#findComment-820704 Share on other sites More sharing options...
Porkie Posted April 27, 2009 Author Share Posted April 27, 2009 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/myuklive/public_html/send_contact.php on line 38 line 38 is the 2nd line of coding here echo nl2br("<h2>Your Data has been submitted to our Support Team </h2>") ; echo linkName "<a href='http://www.getrecognized.co.uk'>Home</a>"; Quote Link to comment https://forums.phpfreaks.com/topic/155908-little-coding-help/#findComment-820721 Share on other sites More sharing options...
premiso Posted April 27, 2009 Share Posted April 27, 2009 Why are you using nl2br on a statement that has no line breaks in it ??? echo "<h2>Your Data has been submitted to our Support Team </h2>" ; echo "<a href='http://www.getrecognized.co.uk'>Home</a>"; Quote Link to comment https://forums.phpfreaks.com/topic/155908-little-coding-help/#findComment-820728 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.