Jump to content

Archived

This topic is now archived and is closed to further replies.

brown2005

include <?=select_sex("");?>

Recommended Posts

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...

Share this post


Link to post
Share on other sites
try:

[code]<?php
echo '<tr>
       <td align='right' height='30'>Sex</td>
       <td>' . select_sex("") . '</td>
       </tr>';
?>[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.