Hi there,
Let's say I have a variable named $cname and I want to make sure that when it is entered into the database, that cname doesn't exist. That's fine so far, I can do that bit.
Now, if it does exist I need the script to repeat itself and add a random number to the end of the variable.
I can add the random number but I can't seem to repeat the check and change the variable.
Thanks in advance,
Chris Evans