jerryisgood Posted August 9, 2010 Share Posted August 9, 2010 Greetings. I received a ton of help over in the PHP boards my I am not running into some problems with mySQL. Issue 1: Any input within a field set is not writing to my table. Inside of my form I have two areas where this occurs: <fieldset id="tfa_Providers1" class=""> <fieldset id="tfa_0583059728034" class="repeat"> First Name<input type="text" id="tfa_FirstName1" name="tfa_FirstName1" value="" size="30" class=""><br> ......... <span class="duplicateSpan"><a id="tfa_0583059728034-wfDL" class="duplicateLink" href="#">Next Provider</a></span><br><br> </fieldset> How can I store the data input here into the same table with the rest of the post data from my form?? 2. Any selections made in a drop down menu, whether it be multiple selections or just one, won't appear in my table <select id="tfa_ProviderTypesc" multiple name="tfa_ProviderTypesc[]" class="required"> <option value="">Please select...</option> <option value="tfa_mapid29291940768" class="">Adolescent Medicine</option> <option value="tfa_mapid29291945486" class="">Allergy</option> <option value="tfa_mapid29291941038" class="">Anesthesiology</option> .................... In my table it simply says "array" Any help would be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/210228-new-to-mysql-not-playing-nicely-with-fieldsets-and-arrays/ Share on other sites More sharing options...
Mchl Posted August 9, 2010 Share Posted August 9, 2010 It's not problem with MySQL, but with your PHP code (which you should paste here). Alsp please familiarise yourself with how arrays are used in PHP Click here: array Quote Link to comment https://forums.phpfreaks.com/topic/210228-new-to-mysql-not-playing-nicely-with-fieldsets-and-arrays/#findComment-1097081 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.