stribor40 Posted July 6, 2013 Share Posted July 6, 2013 Hi I have simple html form that i would like to process in following manner When user is filling form there will be only one button (submit) Once user clicks submit i will receive an email and in the emai there will be link which i can click that will lead me back to the page with the form with all fields filled (what user filled). Now at this point i will see only 2 buttons (accept and reject). At this point i can change something or add something to what user already filled and i can chose to reject or accept form to be submitted to the database. Either way user who filled the form will receive an email. Can anyone suggest how to solve this problem. Any ideas would be appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/ Share on other sites More sharing options...
thara Posted July 6, 2013 Share Posted July 6, 2013 Welcome to Phpfreaks. At first, you need to try it yourself and come back with some particular code. If you have already tried it please post your code, then others can help you to solve the problem. Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439652 Share on other sites More sharing options...
stribor40 Posted July 6, 2013 Author Share Posted July 6, 2013 I didnt start coding this. I didnt ask for code help. I asked for ideas or pointers how to go about this Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439654 Share on other sites More sharing options...
thara Posted July 6, 2013 Share Posted July 6, 2013 Why are you need to go to the form clicking on a link in email message? If you need to activate or deactivate users you can do it through your email itself. (without going to form back ). Just add a active column to your sql table and update it using the email which receiving to you. Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439656 Share on other sites More sharing options...
stribor40 Posted July 6, 2013 Author Share Posted July 6, 2013 How can you deactivate or accept it trough the email. Thats what i am trying to find out? Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439657 Share on other sites More sharing options...
thara Posted July 6, 2013 Share Posted July 6, 2013 Tell me which kind of knowledge do you have in PHP. Have you made your database table? Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439660 Share on other sites More sharing options...
stribor40 Posted July 6, 2013 Author Share Posted July 6, 2013 I know i can update using sql but how would i do that from the email box? If i have to do it from php script i wouldnt be asking i would just have flag in the table and run sql to set it to true or false. Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439669 Share on other sites More sharing options...
thara Posted July 7, 2013 Share Posted July 7, 2013 This tutorial will help you to build this Quote Link to comment https://forums.phpfreaks.com/topic/279915-form-processing/#findComment-1439788 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.