pass both php variable and input form values for two other pages at a time using ajax | بلاگ

pass both php variable and input form values for two other pages at a time using ajax

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

page1.php

<?php
   echo $first;
   echo $secound;
   echo $third;
   echo $four;
?>
<form>
<input type="text" name="five" value=""></input>
<input type="text" name="six" value=""></input>
<input type="text" name="seven" value=""></input>
</form>
<button class="button">Submit</button>

I want to pass all this 4 php variables and 3 inputs values in form using ajax to the pages called 'page2.php' 'page3.php' when the button is clicked. And i should get back the results from page2 and page3 and display it on page1.php saying like successful.

...
نویسنده : استخدام کار بازدید : 129 تاريخ : چهارشنبه 3 خرداد 1396 ساعت: 22:05