Hi,
This is my second day programming in PHP/mySQL. Im trying to delete an entry.
My table has three rows: name, val1, val2 and im trying to delete a row which has name 'stevenjones'
It says
[/B]Error: Unknown column 'stevenjones' in 'where clause' 0
This is my second day programming in PHP/mySQL. Im trying to delete an entry.
My table has three rows: name, val1, val2 and im trying to delete a row which has name 'stevenjones'
Code:
[B][U]function[/U] db_delete($nm) {
@mysql_query("DELETE FROM table WHERE name=$nm");
}
[/B]Error: Unknown column 'stevenjones' in 'where clause' 0