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... 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] 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 Link to comment https://forums.phpfreaks.com/topic/5436-include/#findComment-19425 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.