November 7th, 2005, 12:51
quick mySQL question
if you use a php script to insert data into mySQL, and it's already there, will it overwrite it or produce an error?
November 7th, 2005, 13:28
if it is coded properly, it will overwirt it, and if not you will either get an error or it wont work at all.....at least from my experience with it
November 7th, 2005, 14:06
damn, i wanted it to make an error lol - ah well, back to the drawing board
November 7th, 2005, 14:08
if you code it to recognise that it is already there, and if it is found then to produce an error. i guess that is what you were originally asking. didnt understand the first time. but i am not sure how to do this just yet either. good luck.
November 7th, 2005, 14:11
nah i thought i could skip it by saying if it got an error
die("Error in form - go back)";