![]() On another note you should switch to PDO as mysqli is not secure at all if you do not escape queries correctly. That would automatically do the same thing over and over for every user that submits the form. User Form -> User Inputs Data (Submits Form) -> ajax handles the posting to the php file -> let ajax wait for a response from php on success -> refresh the page using jquery. Have you tried using ajax in the mix between the form and user inputs ? Why do you need to re-generate the form using PHP ?.What happens to the page when the user inputs the data ? Then you re-create the form using PHP ?.When the user inputs data you store it in the db.You have a form with inputs (generated statically ?).I re-read your question twice and it boggles me: ![]() "This all seems like a real headache, but I don't have anyone to ask about this, that's why I'm trying to push my luck in here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |