Jump to content

Submiting a form


skoobi

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/256475-submiting-a-form/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/256475-submiting-a-form/#findComment-1314811
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.