sorry sorry my bad i was tying a experiment by doing this kinda code
the actual code is
<?php
include_once ("connect.php");
$write =("INSERT INTO myrfidtable1 ('id','name_rf','user_rf','point_rf','time') VALUES ('','MAAZ','908802','HU-45','NOW()')");
$res = mysql_query("SELECT name_rf,user_rf from myrfidtable1");
echo "data inserted into database";
?>