I am trying to create a new table using a form like this
You use name="name" twice and the second one is taken in account by your script:
Name: <textarea rows="1" name="name" class="style"> </textarea><br>
Percent: <textarea name="name" class="style">0%</textarea>
BTW, why don't you use single line text fields?
Anyway, you are trying to create a new table for each user. This means you have misunderstood the whole point of a relational database, and like the other questioner in this forum you need to go back to the beginning and read a tutorial or real book.
In any event trying to create tables with random names will never work because of characters that need escaping, or tables that already exist for genuine purposes.
They are only created by me. I see no point if I already know what is in the database or not.
Frederick what do you mean? I have never herd of them in the html or php books I have read.
From our HTML Reference:
http://htmlhelp.com/reference/html40/forms/input.html
"The type of form control defined by INPUT is given by the TYPE attribute. The default TYPE is text, which provides a single-line text input field."
A single-line text field is just:
<input type="text" ...>
Thank you for the quick reply!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)