Hi
I am trying to subtract a id from a roll number from a database. But the subtraction is not occurring !!
This is my code :I am trying various ways like -PHP Code:echo"
<TR>
<TD>$c</TD>
<TD>$row[name]</TD>
<TD>$row[roll]-$row[id]</TD>
<TD><A HREF='1.php?page=$_GET[page]&upd=$row[id]'>UPDATE<A></TD>
</TR>";
ORPHP Code:"$row[roll]"-"$row[id]"
like this :
etc etc. but none is working.PHP Code:"$row[roll]\"-\"$row[id]\"
Please can anyone tell me how to do the subtraction between row[roll] and row[id]??



Reply With Quote

Bookmarks