Am generating a form out of SQL-records does not parse the $_POST value

Hi there. I am in serious trouble with such an easy job. Just cant find the mistake. What I have done in this script:

  1. I have generated a form out of an sql-record that should make editing/new_record or delete_record possible
  2. The form gets generated fine, but when clicking the Edit-button … it seems that the “$_POST” variable doesn’t seem to have a value! … and so the if-statement (i simplified it … ) doesnt work.

What am I doing wrong?

Have attached the php-file as zip. Kindly help. thx.


edit_booking.php.zip (2.64 KB)

FYI - There are a lot of people who won’t download a zip file (including me), but you might get someone who will. A better way would to post the code here with the surrounding tags or use pastebin or github and post the link.

Thats because you have no value in the name="" in several places

thanks! Am a newbie … LOL

Sponsor our Newsletter | Privacy Policy | Terms of Service