Rosen wrote:

No, I don't use it only in range of one script - it must be as "normal"
table - several scripts to work with this table and after the last script
finish - it delete the table. This may take a time about 20-30 minutes (
until user enter data )

Okay. Use uniqid() to create a string for the table name. The only way you're going to know if it's duplicate is to either catch the error when you create the table or attempt to select something from it or show columns from it...


If you're using uniqid(), though, you shouldn't run into duplicates very often.

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to