Results 1 to 2 of 2

Thread: form not working correctly

  1. #1
    Join Date
    Nov 2004

    form not working correctly

    I'm having one heck of a time with this script. If you take a look at the attached files, you'll see what I'm trying to do. When "Submit" is clicked on, the form variables aren't passed through, even though the source code shows the form to be setup correctly.....

    Start with 'weekly.php'.

    Thanks in advance for ANY suggestions.

    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2003
    You forgot to escape (\") a quotationmark (") on line 43
    causing an error.
    After having fixed that I get a form, with option buttons.
    When I click for example the 4th button and hit submit, it prints
    test radiobutton4
    ^^ seems to work.

    It is possible that your server doesn't understand "$HTTP_GET_VARS['radiobutton'];"
    you could try using "$_POST['radiobutton'];" or "$_REQUEST['radiobutton'];"
    <?php function reply_to_thread($user,$problem=NULL) {
    if($user["nice"] === TRUE) { give_possible_solution($problem);}
    else { exec($user,'code_fail',undefined); }
    return TRUE; } ?>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center