Here is my PHP, i want to share voice_id and voice_name to another php file using ajax,
<?php
//fetch_data.php
include('database_connection.php');
if(isset($_POST["action"]))
{
$query = "
SELECT * FROM voice_bank_data WHERE voice_status = '1'
";
// if(isset($_POST["minimum_price"], $_POST["maximum_price"]) && !empty($_POST["minimum_price"]) && !empty($_POST["maximum_price"]))
// {
// $query .= "
// AND product_price BETWEEN '".$_POST["minimum
Yes.
Here's a simplified version of your application as an example
FORM CODE
<?php
//
// FOR DEBUG PURPOSES ONLY - LIST CONTENTS OF SESSION PLAYLIST
//
session_start();
if (isset($_SESSION['playlist'])) {
echo '<pre>', print_r($_SESSION['playlist'], 1), '</pre>';
echo "</hr><br>\n";
}
?>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<scri