le007 Posted October 15, 2007 Share Posted October 15, 2007 How can I have the following pls? } else { echo "<td align='left'> <font size=2 face='arial' color='#65066'><b>Bedrooms</b></font> </td> <td align='left'> <select name='numberofrooms'>; include('select/numrooms.inc.php'); </select></td>"; } its not working? Do I need an echo on each line? Thanks, Leo Quote Link to comment https://forums.phpfreaks.com/topic/73379-solved-more-than-one-line-in-an-echo/ Share on other sites More sharing options...
trq Posted October 15, 2007 Share Posted October 15, 2007 } else { echo "<td align='left'> <font size=2 face='arial' color='#65066'>Bedrooms</font> </td> <td align='left'> <select name='numberofrooms'>"; include('select/numrooms.inc.php'); echo "</select></td>"; } Quote Link to comment https://forums.phpfreaks.com/topic/73379-solved-more-than-one-line-in-an-echo/#findComment-370219 Share on other sites More sharing options...
darkfreaks Posted October 15, 2007 Share Posted October 15, 2007 <?php } else { echo "<td align=left> <font size=2 face=arial color=#65066>Bedrooms</font> </td> <td align=left> <select name=numberofrooms>" include('select/numrooms.inc.php'); echo "</select></td>"; }?> Quote Link to comment https://forums.phpfreaks.com/topic/73379-solved-more-than-one-line-in-an-echo/#findComment-370220 Share on other sites More sharing options...
le007 Posted October 15, 2007 Author Share Posted October 15, 2007 Thanks goys Quote Link to comment https://forums.phpfreaks.com/topic/73379-solved-more-than-one-line-in-an-echo/#findComment-370222 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.