Jump to content

Form that is included won't use action


Brian W

Recommended Posts

I have a repeat region that I've designed to display my update form when the url perimeter "ID" = that row's "ID". Acts like a drop down in the end.

Look here. the url is .../Task.php?ID=17&Project=1

Clipboard02.jpg

so, Task ID 17 has the update field being shown. The update field is actually contained in a separate php file (Taskpage.php) that I have set to be included, like I said before, ONLY if the url perimeter "ID" equals THAT row's ID. Nifty i think.

PROBLEM: It will update the row in the database like I want it to but it won't take me to the page I have as the -go to after updating- page. When I use the page Taskpage.php by itself it will go to the review page I have set up. I added 

action="review.php"

to the button but that didn't help me at all.

The problem seems to be because the form is included. Any ideas why that is?

 

Thanks ahead of time...

Link to comment
https://forums.phpfreaks.com/topic/123297-form-that-is-included-wont-use-action/
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.