could someone help me out of this code i have a problem the quoted input text could not be print see my codes
`function generate_table(){
$query = "select id,branchcode,accountno,accountname,naturalaccount,mname,placeholder,design,elevel from account_codes";
$result = mssql_query($query);
$index = 0;
while($result_row=mssql_fetch_array($result)){
$index++;
echo '<tr>
<td><input size="2" type="hidden" value="'.$result_row['id'].'" name="did'.$index.'" id="did'.$index.'" disabled="disabled"/>';
echo '<select style="width:160px" disabled="disabled" name="bcode'.$index.'" id="bcode'.$index.'" >'.branch_code($result_row['branchcode']).'</select></td>';
echo '<td><input type="text" style="width:200px;" value="'.$result_row['accountno'].'" name="ano'.$index.'" id="ano'.$index.'" readonly="readonly"/></td>
<td><input type="text" style="width:300px;" value="'.$result_row['accountname'].'" name="aname'.$index.'" id="aname'.$index.'" readonly="readonly"/></td>
<td><input type="text" value="'.$result_row['naturalaccount'].'" name="naccount'.$index.'" id="naccount'.$index.'" readonly="readonly"/></td>
<td><input type="text" value="'.$result_row['mname'].'" name="mname'.$index.'" id="mname'.$index.'" readonly="readonly"/></td>
<td><input type="text" value="'.$result_row['placeholder'].'" name="pholder'.$index.'" id="pholder'.$index.'" readonly="readonly"/></td>
<td><input size="10" type="text" value="'.$result_row['design'].'" name="design'.$index.'" id="design'.$index.'" readonly="readonly"/></td>
<td><input size="4" type="text" value="'.$result_row['elevel'].'" name="elevel'.$index.'" id="elevel'.$index.'" readonly="readonly"/></td>
<td><a href="javascript: edit_acodes('.$index.')" id="editor'.$index.'">edit</a></td><td><a href="delete_acodes.php?did='.$result_row['id'].'">delete</a></td>';
echo '</tr>';
}
echo '<input type="text" id="endindex" name="endindex" value="'.$index.'"/>';
}
function branch_code($default){
$query = "select left(locationname,PATINDEX( '%~%' , locationname )-1) as id,right(locationname,len(locationname)-PATINDEX( '%~%' , locationname )) as lname from location_setup1_v";
$result = mssql_query($query);
$retval = '';
while($result_row = mssql_fetch_array($result)){
if($default==$result_row['id']){
$selected = 'selected="selected"';
}else{
$selected = '';
}
$retval .= '<option value="'.$result_row['id'].'" '.$selected.' >'.$result_row['lname'].'</option>';
}
return $retval;
}`