Ok, i hope i explain this correctly,
i keep getting a Parse Error and im lost.
im trying to make a Variable. see code below
$tr_test = "<tr>
<td align=\"left\" valign=\"top\">Rank:</td>
<td align=\"left\" valign=\"top\"> <select name=\"rank\" id=\"rank\">" (parse error here)
do {
" <option value=\"" $row_ranks['rank_id'] "\">" $row_ranks['rank_title']"</option>"
} while ($row_ranks = mysql_fetch_assoc($ranks));
$rows = mysql_num_rows($ranks);
if($rows > 0) {
mysql_data_seek($ranks, 0);
$row_ranks = mysql_fetch_assoc($ranks);
}
"</select></td>
</tr>";
I get a parse error, just before the DO {
how can i get the php to execute while inside the VAR?
hope i made sense.😃