I have just gone brain dead, anyone can tell me what is wrong with this code lol.
I dunno but I am overlooking such a stupidly simple thing, coding for several hours straight doesn't help haha.
I dunno but I am overlooking such a stupidly simple thing, coding for several hours straight doesn't help haha.
PHP:
if(mysql_query("SELECT * FROM `calculation` WHERE username='Hobgoblin'")){
echo "duplicate detected";
}