Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.