Hi,
First time here, long time geek.
I've been mulling over a problem for the last couple of days, and thought it was time to look for a little help in the right direction.
Basically, I have an admin page with a list of registered users details in a dynamic table. In one of the fields, called "status", I have 2 buttons each in their own form that when one is clicked, goes to a mailer1.php and is supposed to send the email in mailer1.php to the user in the row of the dynamic table and update the status field in the mysql database. And when the other is clicked, goes to mailer2.php and does the same.
The forms with the buttons is here http://croc.ftw.net.nz/extras/form.txt and works as far as going to the mailers.php
The mailers.php of which there are 2 different versions (out of the many that I have tried :/ ) are here http://croc.ftw.net.nz/extras/2.txt and here http://croc.ftw.net.nz/extras/3.txt
They both disply no errors when initiated, but then they both do nothing, niether send the email, nor update the database.
Any directional help would be appreciated. Am I going in the right direction? Can you see any huge errors? Is there lots of code missing? Need any more info?