minat0 Posted October 13, 2014 Share Posted October 13, 2014 Hi there, This may not be the correct space to post this - but I'm very new to all this. I've created a page that will run a php script to output a query. I would then like to send that same query via email - however from a design perspective I don't think the correct process is to click 'submit' to view the query and then 'submit' to send the result via email? Can you please advise on some design solutions regarding this issue? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/291601-logical-webpage-design/ Share on other sites More sharing options...
CroNiX Posted October 13, 2014 Share Posted October 13, 2014 If the email needs to be sent each and every time the submit button is clicked to create the initial query, then just have that code also send the email so there is only one step. If it's optional to send the email, then a 2nd step would be necessary similar to what you described. Quote Link to comment https://forums.phpfreaks.com/topic/291601-logical-webpage-design/#findComment-1493480 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.