| View previous topic :: View next topic |
| Author |
Message |
mark

Joined: 07 Jan 2007 Posts: 1011
|
Posted: Sat Mar 08, 2008 8:21 pm Post subject: |
|
|
| Pain wrote: | | Ok, I get it now, but when I keep the order => first delete, second fetch then I can't get the id from $data['name'] since the array is filled later |
Wrong. It'll work if you use the following order:
- create the form
- add the select element
- check for submission / validity (and delete)
- fetch the records to the select element
- show the form |
|
| Back to top |
|
 |
Pain
Joined: 13 Feb 2008 Posts: 19
|
Posted: Sun Mar 09, 2008 12:16 am Post subject: |
|
|
OMG it works , never would thought to do it this way
THANKS FOR ALL!!! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|