Thanks for the reply.
If I set my error reporting to error_reporting(E_ALL) I get an Undefined index: update in C:\wamp\www\edit.php on line 159
as well as undefined index for the following: bank, card and debit.
I dont understand this because isn't this defining a variable? $Update = $_POST['update'];
on the previous page i set the external variables as follows:
echo "<a href=edit.php?membership_id=$membership_id&update=yes>Edit</a>";
After putting error_reporting(0)
When I echo out $sql after executing the updated when I change the bank name to Standard Bank I get the following
UPDATE membership_id SET bank = 'Standard Bank', card = '4659', debit = '25th' WHERE membership_id = "
It shows everything as it should except for the membership_id which is blank...any ideas?