value of radio button shows only not in the mysql table

This looks like a small problem, but I can't seem to find the solution. I created a form on a web page. After the form is completed, a confirmation is sent to the person who filled out the form and a mysql table is populated with the information from the form. Everything works well except for one small thing: the value of the radio button does not appear in the table.

Here is the form: http://www.webdevpractice.com/genoptix/CE/register.php

Here is the table on the Web page: http://www.webdevpractice.com/genoptix/CE/admin/index.php you will see that the Contact Me column does not.

Here insert the php code in the registration form page:

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "registration")) {
  $insertSQL = sprintf("INSERT INTO registrants (registrant_id, first_name, last_name, medtech_id, job_title, company, city, `state`, email, phone, contact) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                       GetSQLValueString($_POST['registrant_id'], "int"),
                       GetSQLValueString($_POST['first_name'], "text"),
                       GetSQLValueString($_POST['last_name'], "text"),
                       GetSQLValueString($_POST['medtech_id'], "text"),
                       GetSQLValueString($_POST['job_title'], "text"),
                       GetSQLValueString($_POST['company'], "text"),
                       GetSQLValueString($_POST['city'], "text"),
                       GetSQLValueString($_POST['state'], "text"),
                       GetSQLValueString($_POST['email'], "text"),
                       GetSQLValueString($_POST['phone'], "text"),
                       GetSQLValueString(isset($_POST['contact']) ? "true" : "", "defined","'Y'","'N'"));

I used phpMyAdmin to create the db and table. I put the field contact as follows:

Type: ENUM

Length/values: ', 'y '.

Default: no

Ranking: utf8_unicode_ci

Can you find the problem?

I found the problem. I don't broadcast my stupidity, but I have a time I changed the last field of contact_me contact and I forgot to download the change on one of the files (I thought I had downloaded it). In any case, thanks for responding to my message. It is good to know that altruistic GRAMPS remains!

Tags: Dreamweaver

Similar Questions

  • Obligation to fill the values in table advanced according to the selection of a value in another article of lov (not in the advanced table)

    Hi all

    We work in a custom oaf page subdivision. We have an obligation to fill the values in table advanced based on a value selection in an element of the lov (this LOV is not in the advanced table) .can share you it please me steps or examples of code to achieve this. Waiting for response.

    Kind regards

    I do not understand completely still. What do you mean by "default in the table values must be inserted".

    You can create a dummy VO with the same columns and fix the VO in the advanced table.

    In the normal scenario, when the user clicks on submit button, browse this VO, and copy the values to the validation according to VO and appeal EO. If values gets inserted into the database.

    When the user selects the number of PO, simply run the other VO and fill this dummy VO so that values are available in the advanced table. When you click on send, do not copy these values to the EO based VO, so these lines won't get inserted.

    It work?

    See you soon

    AJ

  • LVUTF-> RequirementID shows only not in the ATML report

    I use requriements gateway and I wanted to use the ATML report out the UnitTest framework in my project.

    The issue I'm facing is when I run the UnitTest framework on my draft report is ATML does not contain the elements of RequirementID.

    I belieave I configured it straight and I don't understand why it doesn't work.

    Gateway requirements comes with an example of using the ATML UTF report. When I run the test in the sample project, RequirementID tags appear.

    I have enclosed a snapshot of one of my 8 unit tests in my module: to show that I have set the RequirementID field in UTF configuration.

    However... I have no chance, and the report does not have the RequirementID.

    Any help would be appreciated.

    Maciej

    Ok

    Problem between the keyboard and the Chair.

    If you go in the project preferences, test infrastructure unit, there is an option to select additional details in the tests of success, failure, and error.

    It is not checked by default.

    When I selected the option the ATML now cointains tags RequirementID I wanted.

  • My account calendar shows only not in the calendar app

    Hello

    I have a problem with the calendar (version 18.6.A.0.1). When I open it, the calendar shows only birthdays my contacts, but I don't see my owncloud calendar, even though I can see and synchronize in the android account manager.

    In fact, I disabled the application of storage calendar, then created the resource calendar and finally turn back the calendar again storage application. So storage of schedule was a little lost after him.
    This problem is resolved by the deletion and recreation of the resource.

  • The radial filter guide shows only not in the work area

    I upgraded to Lightroom CC on the release and recently made the last update.  Now my radial filter does not show in the work area.  I can turn it on in the selective settings panel, but there are no guidelines indicating the size/shape of the mask.  The mask shows when I check/uncheck the mask Show Overlay box or the 'o' key (keyboard shortcut), but still no guidelines.  Radial filter appears in the history panel as well.  The selective brush seems to operate normally.  I'm on an IMac using OSX 10.10.2 2013.  I quit and restarted Lightroom CC so that rebooted my machine.  I don't have this problem on my MacBook Pro that has been updated at the same time.

    Help, please!

    Phil

    Press H

  • Members only showing only not at the Parent level

    Hi all

    We have a form with smart data list attached to the account member. The position of the staff can be selected from a list of departments for different months using the smart list. This selection is made at their level of unit and the function respective business. When we are aggregated to the total profit center staff and level of total function, departments are not met in the web form, but in essbase, we can see that departments display correctly at the aggregate level parent. The only problem is that values do not think in planning of web forms. Is this a bug of planning?

    We use Hyperion 11.1.1.3. Please notify.

    Hello
    This is a known issue in 11.1.1.3 and has apparently been fixed in 11.1.2. See the message below:
    Cannot set the value for the parent member, which is a smartlist

    See you soon,.
    Alp

  • Downloader icon shows only not in the menu bar?

    I noticed after updating Firefox 12.0 4.9.9 the Downloadhelper icon appears at the top left as around the menu bar.

    However, after some adjustments, he appeared in the status bar that is painful.
    I wonder how I could show movement animated icon in the menu or anywhere, but on the top bar on the left side?

    PS * I had taken a few screen shots, but could not fix here.

    See this article-> How to change Extension settings

    • Open DownloadHelper options-> general-> panel remove the check mark from "Display in the status bar" -> click OK

    Now use the following article to place the DownloadHelper icon where you want in the Navigation toolbar

    Check and tell if its working.

  • Recording device shows only not in the sounds

    Separated from this thread.

    I tried the tips listed in previous post and have had no success. The microphone worked it previously and is internal in the PC appears now not at all. I would appreciate help, that you can provide.

    Hello Tony,.

    Please keep us updated on the issue.

    I would like to know some information about the problem so that we can help you further.

    What is the number and the model of the computer?

    I would ask you to try the following changes in the registry settings to check if the Microphone is disabled reading.

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    STEPS to change the registry settings:

    1. Click Start, type regedit in the Start Search and press ENTER.
    2. Draw the following registry location: HKEY_LOCAL_MACHINE\System\ControlSet001\Control\ {4D36E96C-E325-11CE-BFC1-08002BE10318} \0005\Settings
    3. Check if the DisableMicFromPlayback value is set to 1. If this is the case, then, change it to 0 and click OK.
    4. Close the registry editor and restart your system.
    5. Check if you are able to use the Microphone.

    NOTE: Please carefully follow article to back up and restore the registry before trying the above step.

    Hope this information is useful. Please post back your results for assistance.

    Thank you.

  • Text of the article shows only not in the preview of the Adobe Content Viewer

    Hello

    None of my article text shows preview Adobe Content Viewer. There is no missing fonts, I cut down all InCopy links and updating of the articles and the folio. Do I have to use certain types of OTF fonts? Or is it a setting I'm missing?

    Thank you!

    I realized that I forgot to check on the iPad instead of the Office Content Viewer. Text on the thin iPad Content Viewer. Still, if anyone knows why it might not be showing on the Desktop Viewer please let me know. Thank you!

  • working capital shows only not in the preview

    Fireworks CS4 does not preview my simple bearing, or export it successfully. I have only 2 States with hotspots, went to the State first and clicked on the behavior handle to choose 'Add a Simple rollover behavior' directed by Fireworks CS4 help. This option was not there! Instead chose, 'add an Image Swap behavior' and the dialog box with pre-selected State No.2 appeared and clicked OK. I was supposed to be able to see the action in the preview at this point, but nothing pane. Also F12 and nothing.

    In the dialog box for "Add a Swap Image behavior" after the text at the top "when rolling on the current range, swap image in the range selected below:" there are two mysterious empty boxes, a square, rectangle, which deal with the box, but do not seem to do anything!

    I also tried the drag drop method, dropping on the same slice, and yet I see no "line of blue behavior represents a rollover interaction" as described in help.

    I also went directly to the Panel of behavior and used '+' to select 'Bearing Simple' instead of 'Swap Image' (which means I deleted the latter) to export section in state1. Still nothing.

    Each time, the preview panes present a change in the slider pointer at hand when I mouse over, but no change in the image.

    So what don't understand me? Whatever it is, the indications of aid are also missing from it.

    Add a slice rather than a hotspot and adding that the behavior of another chance.

  • the Random var button works only not with the switch statement

    I have a button randomly on the erasure of the scene in. I'm testing button that fades in, because I have different URL according to the button it is on. Here is the code that I use, and which generates no errors... just does not work. I am unable to find the correct key, but do not work my switch statements. I don't know if it's one thing to syntax or another problem. Thank you!!

    var currentImage:MovieClip;

    var arrGrowing:Array = new Array (resume_mc, magazine_mc, suitcase_mc, monopoly_mc, superhero_mc, hat_mc,

    chair_mc, books_mc, lightbulb_mc);

    for (var i = 0; i < arrGrowing.length; i ++) {}

    arrGrowing [i] .alpha = 0;

    arrGrowing [i] .buttonMode = true;

    arrGrowing [i] .addEventListener (MouseEvent.CLICK, onButtonClick);

    }

    function initLoop (): void {}

    currentImage = arrGrowing [Math.floor (Math.random () * arrGrowing.length)];

    var exitTween:Tween = new Tween(currentImage,"alpha",Regular.easeOut,0,1,12,false);

    }

    function onButtonClick(e:MouseEvent):void {}
    switch (currentImage) {}
    case resumes:
    var url: String = "http://www.yahoo.com"; ""
    var req:URLRequest = new URLRequest (url);
    navigateToURL (req, "_self");
    break;
    }

    I don't see where CV refers to any thing implied by your code.  There is a resume_mc if that's what you're trying to test.

  • volume icon shows only not in the taskbar properties / can not the volume of the Wo

    When I opened the hidden icons on the taskbar... threre is no icon volume adjust the volume. How can I adjust the volume and display the icon

    Hello

    Thank you for giving us the opportunity to answer your question of Windows!

    Volume in the task bar icon is missing.

    You can access the same service using the control panel.

    However if it please check out the following link and check if this is useful:

    Registry warning: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base. How to back up and restore the in the Windows registry:

    http://Windows.Microsoft.com/en-us/Windows7/back-up-the-registry

    System icons do not appear in the notification area in Windows Vista or Windows 7, you must restart the computer

    http://support.Microsoft.com/kb/945011/en-us

    I hope that helps!

    If the problem persists, or you need help on Windows please keep us laid.

    We are here to help.

  • all the buttons work only not on the monitor source except the space bar

    I just downloaded a trial of adobe first cc 2015 but unable to do all the regular stuff in my source window. all buttons are unresponsive except the space bar (it will play the file). I can also drag the video in the timeline, but still unable to make other edits using the buttons... any ideas anyone?

    Try this:

    Restart your computer, hold down the shift + alt key while opening the first up to the Welcome screen.

  • Table background Pic shows only not in the browser

    I am new to Dreamweaver, but have used other software in the past, so I was expecting when I put a background image in a table it would be displayed in a browser (any browser), but it's not.

    It appears in the design phase, the table creation. Is there a setting I'm missing or some of these?

    Help would be greatly appreciated. I couldn't find anyone else having this problem in the forums.

    Thank you
    Raven

    Thank you for your quick response.

    After hours of research, I realized that my problem is the result of the name of the pictures: fade 50%A.jpg this was the % sign that got in the way.

    Again, thank you for your quick response.

    Raven

  • Assign values of radio button

    I am building a form with several option buttons.  The form is based on a Likert scale (of strongly in agreement to disagree strongly).  I would like to assign numerical values to each option button.  In many cases, values are 1, 2, 3, 4 and 5.  However, in some cases the statements are reverse scored only 5, 4, 3, 2 and 1.  The test also 10 scales ranging from 'My good Score' "my bad Score.  I have traced where each group of 5 boxes made (what scale).  Each scale is added, resulting in different scores 10 out of 10 different behaviors.

    I searched the net to determine how to do this, because I have already created a more straightforward test using the checkboxes; However, checkboxes properties provide an export value, while radio buttons are not.  So, I'm lost.

    I read about the grouping of option buttons so that only one can be selected.  Got that.  I even read 'export the value of the radio button' which does not exist.  More recently, I read on the scripts.  Enter Javascript!  I don't know anything about.

    Help, please.

    Radio-buttons have a value of exports. It is called 'Radio button choice' and can be found under Properties - Options.

Maybe you are looking for

  • My iMac can't sleep

    Hello evryone Since the last download of the el capitan in an iMac mid-2011, my mac every moment of execution. Turn off it is the only solution to stop it. Any help on this pb? Thank you

  • Error 550 5.1.1

    My friends can't send me emails and bring them back with this error code: reason: 550 5.1.1 this has only just begun! I can receive emails from companies and subscriptions, but not private? !! Optus say it is my fault for the computer and will not he

  • Running in compatibility mode...

    My computer started running in compatibility mode and I can't get back the original settings, causing everything to be dynamited size extra-large.  How can I get this back to the original settings.P.S. not a computer wiz here

  • TCS gen 2 and taken in charge of Windows server 2003

    Hello I have a Cisco TelePresence v5.3 Content Server running on gen 2 material. From what I see v5.3 TCS works in Windows server 2003, because it is a matter of concern support for Windows server 2003 ends July 14, 2015. Is there anything that can b

  • How to manage the update at the end

    Hi all I can manage onFocus crushed by the paint method, but when the focus moves at the end of the field (the last focusable field), he again uses the default behavior (drawing of a white rectangle). How can I customize this? Ex: keep the same as wh