Hi aleksanterii use localhost by setting up the mysql in my own machine. not with the remote server i think. i just started learning php for about a mth ago only. And i am a complete noob in this. So really thank you for helping me. These are the codes which i use in the page. <?php $version = $_GET['add_SWversion'];$revision = $_GET['add_revision']; echo("<p><strong>Here are all the data : </strong></p>"); $result = @mysql_query ("SELECT ID, software_version, revi FROM software_version "); if(!$result){ echo ("<p>Error performing query :" . mysql_error() . "</p>"); exit(); } //Display text and 'delete' link beside eachwhile($row = mysql_fetch_array($result)){ $SVID = $row["ID"]; $software_version = $row["software_version"]; $revi = $row["revi"];echo("<p> $software_version (revision : $revi) " . "<a href = '$PHP_SELF? delete = $SVID'>" . "Delete this version</a> " . " <a href ='SW_modify.php?modify = $SVID'> " . " Modify</a></p>"); } if ($_GET['add'] == $_SESSION['add']){ $sql = "INSERT INTO software_version (version_id, software_version, revi) values ('$colname_Softversion', '$version', '$revision')"; mysql_query($sql) or die(mysql_error()); }elseif (isset($_GET['$delete'])) { $sql = "DELETE FROM software_version WHERE ID = $delete";mysql_query($sql) or die(mysql_error()); }?>Now using the codes above i cannot add item. Do you have any suggestion? In the meantime i will try out your example.