Post a url
-
Hi After submit i need send a post like this field with the data from tohe form https://webservice.dinerapp.nl/api/state/GetAddCustomer?BED_ID_FK=2158592&Referentienummer=&Referentie=&Bedrijfsnaam=&Functie=&Geslacht=Mann&Achternaam=&Tussenvoegsel=&Voornaam= Now i use this but that doesn't work <?php add_action(‘allinoneforms_after_saving_to_db’,function ($saver){ $fields=$saver->FormBuilder->GetFields(); $data=[]; foreach($fields as $field){ if(!$field->IsUsed()) continue; $data[$field->GetId()]=$field->ToText(); } }); I get in the $data field this information: 109=2158592&1=Tennis&110=17351&111=personen&88=10%3A00&89=11%3A00&91=11%3A00&92=12%3A00&93=13%3A00&94=14%3A00&95=15%3A00&96=16%3A00&108=16%3A00&107=17%3A00&99=18%3A00&104=19%3A00&105=20%3A00&106=21%3A00&53=9.Beginner&56=Prive&59=Nee&62=Ja&66=Man&85=Vrijdag&86=Weekend&69=0102034400&87=20-04-1967&68=harald%40addtention.nl&76=Vriend1&77=1234567890&78=vriend%40hotmail.com&79=Vriend2&80=0987654321&81=vriend2%40hotmail.com&82=Vriend3&83=5674839203&84=vriend3%40hotmail.com&112=online&113=%3Ca+href%3D%22https%3A%2F%2Fwebservice.dinerapp.nl%2Fapi%2Fstate%2FGetAddCustomer%3FBED_ID_FK%3D%5BHidden+Id%3A109%5D%26Referentienummer%3D%22%22%26Referentie%3D%22%22%26Bedrijfsnaam%3D%22%22%26Functie%3D%22%22%26Geslacht%3D%3C%2Fa%3E%3C%2Fp%3E I'm realy a beginner with Php so i have no clue what i can do the get fill the $data field with the right content like above? Is there anybody who can help me a little, Thanks in advance HaraldThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Post a url’ is closed to new replies.