All want is to be sure that if the there is an existing row in name with an entry of 'asdf' (example) then it will echo something like name already exists, but if it doesnt i want it to echo okay. What happens is that it ALWAYS echos okay, in other words it always says there is no row named 'name' with the value of 'asdf'