I think I have found the problem. The random number should be added, the problem is that it is not being added in the Validated Entries.
I am sending an updated file that should fix the issue. Please copy it into your dreamweaver configuration folder to:
/Configuration/DataSources/PHP_mySQL/WA_Validated_Entries.htm