Hello guys. I made a form with 3 inputs (song name 1, song name 2 and album name). When i submit this form it calls a php script like this one:
<?php $song1 = $_POST['song1']; $song2 = $_POST['song2']; $album = $_POST['album']; $output = shell_exec('D:\\apache\\htdocs\\test\\mp3wrap\\mp3wrap.exe '.$album.' '.$song1.' '.$song2.''); echo "<pre>$output</pre>"; ?>
This merges the 2 song files into 1 song. I can add in the form more song name inputs, but i want php to automaticaly create arrays from inputs and add them to the shell_exec command. So how can i make the php script add the input arrays without me manually writing $song3 = $_POST; $song4 = $_POST;...etc?