echo " <table bgcolor='#d3fcfe' align='center'> ";
while ($row = mysql_fetch_array($result)) {
echo '</div> <tr onmouseout="this.bgColor=\'#d3fcfe\';" onmouseover= "this .bgColor=\'#fffdcd\';" > ';
$numq2=$row['username'] ;
{
echo '<td ><div class="iddiv"> <input name="" type="text" value="$numq2" /> <div> </td> ';
}
echo ' </table>';
}
i want to output $numq2 Var’s data into the value of the textfield.but something is wrong with my code.it prinout the value of textfield as “$numq2”.what’s wrong with my script?
This
should become
Notice the
'.and.'around your$numq2