Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You don't need PHP for this, if you're using MYSQL 5 (believe everyone is at this point) then you just use "ON DUPLICATE KEY UPDATE". Below is example of its usage.The script tests for a couple of things - mainly whether a registrant is already registered - and updates depending on the result so it seemed better to have one external script. Could be wrong though!
Please Log in or Create an account to join the conversation.