PHP Post & forms

From: Date: Fri, 14 Apr 2006 02:40:16 +0000
Subject: PHP Post & forms
Groups: php.general 
Request: Send a blank email to php-general+get-233977@lists.php.net to get a copy of this message
Quite possibly a stupid question, but here goes. I have a form that is a list of jobs. On that list is a checkbox. The form field is named 'changedate'. I also have a hidden field called 'JobID'. What I am trying to accomplish is if a checkbox is checked, when the form is submitted, I want all of the JobID's to be updated by an SQL query. But it seems to me that $_POST will only contain the last JobID in the form, no matter what. Am I correct on this? Is what I am trying to accomplish not possible with a form post? I think I remember doing something similar with Cold Fusion years ago, but I have never attempted this with PHP. Any suggestions?

« previous php.general (#233977) next »