Originally posted by Lars Berg
Do you mean that you create tables where the name is based on user input?
Why ever?
yes i do. i'm writing a script for making catalogs of cds, dvds, games, whatever...beanie babies if they want, it is pretty dynamic and i am hoping others will use it. visitors, of course, will not be able to create tables, but the users that set up their lists will, i'm pretty much done, so i'm trying to add a little more error checking here and there. my goal is to make the users setting up the lists, not have to edit any code whatsoever (except for connection.php obviously for user/pass)
i've looked at the mysql manual and i can't find what i'm looking for...i think i'm only gonna allow alphanumerics and maybe underscores just to be safe.