skoobi Posted February 5, 2012 Share Posted February 5, 2012 Hi im currently learning php and mysql and as a test (or a lesson) i thaught id do a timesheet site which adds the time and date and so on to the datatbase. Now im at the stage where i want to actually view the times for a particular date... The problem im getting is that with the date picker which is a simple dropdown menu for the days/month/year but when i submit the form to the view.php file the result i get is 'Submit Query' which is the value of the button... Can someone give me a few pointers on what im doing wrong!!! Thank you Chris Quote Link to comment https://forums.phpfreaks.com/topic/256475-submiting-a-form/ Share on other sites More sharing options...
floridaflatlander Posted February 5, 2012 Share Posted February 5, 2012 but when i submit the form ..... the result i get is 'Submit Query' which is the value of the button... You may need to post the code, you are submitting it aren't you. But I use if (isset($_POST['submitted'])) { run this code } To block things off. Quote Link to comment https://forums.phpfreaks.com/topic/256475-submiting-a-form/#findComment-1314811 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.