brown2005 Posted March 21, 2006 Share Posted March 21, 2006 Hi,I had a html table row like this, which is a sex select box (female, male):- <tr> <td align="right" height="30">Sex</td> <td><?=select_sex("");?></td> </tr>how can i write this in php...i have the:-echo " <tr> <td align='right' height='30'>Sex</td> <td></td> </tr>";but how do i put the=select_sex("");into the empty column... Quote Link to comment https://forums.phpfreaks.com/topic/5436-include/ Share on other sites More sharing options...
php_b34st Posted March 21, 2006 Share Posted March 21, 2006 try:[code]<?phpecho '<tr> <td align='right' height='30'>Sex</td> <td>' . select_sex("") . '</td> </tr>';?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/5436-include/#findComment-19420 Share on other sites More sharing options...
brown2005 Posted March 21, 2006 Author Share Posted March 21, 2006 cheers mate..sort Quote Link to comment https://forums.phpfreaks.com/topic/5436-include/#findComment-19425 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.