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 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>"; } 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>"; }?> 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 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
Archived
This topic is now archived and is closed to further replies.