allow user to remove themself from database

how would i allow a user to remove there account from my database?

here is my database table

Field Type Collation Attributes Null Default E…
id mediumint(8) No auto_increment
username varchar(50) latin1_general_ci No
firstname varchar(50) latin1_general_ci No
lastname varchar(50) latin1_general_ci No
password varchar(50) latin1_general_ci No
date date No
ip varchar(50) latin1_general_ci No

please help me

for a clear picture go here

Hello,

No PHP codes?

[php]
mysql_query(“DELETE FROM members WHERE id = ‘$id’”);
[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service