PHP/Ajax Form Sumission

后端 未结 2 1061
轮回少年
轮回少年 2021-01-26 03:17

I have designed a Sidebar Floating Form with PhP/Ajax which is working and sending submission to my targeted email. Here is the Link: http://logohour.com/form.html but when a v

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-26 03:26

    Below the simple ajax form submission. Hope it will help your need.

    
    
    
    Firstname: Lastname:

    receivedConfirmation.php

    ";
     print_r($_POST);
     echo "

    "; //do your DB stuffs here and finally echo your response based on success or failure echo "Thanks for sending your message! We'll get back to you shortly."; echo "
    Click your browser's Back button to return to the page." ?>

提交回复
热议问题