Hi All, Thanks for your excellence assistance so far! I have another question… I am trying to delete a row in MySQL with PHP, here is my code:
[php]
<?php $host="localhost"; $username="root"; $password=""; $db_name="php_login"; $tbl_name="users"; mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $id=$_GET['id']; $sql="DELETE * FROM $tbl_name WHERE id='$id'"; ?>[/php]
Can anyone tell me why this is not working? Thanks In Advance!