What am I needing to do in order to make this work ?
Please advise ?
I am getting the $song_title from another part of my PHP I am just setting it as something in this example in order to post what I thought should work ? any help would be most appreciated
<?php
$output1="PHPMIN=`echo $song_title | cut -d"(" -f2 | cut -d")" -f1 | cut -d":" -f1`";
$output2="PHPSEC=`echo $song_title | cut -d"(" -f2 | cut -d")" -f1 | cut -d":" -f2`";
$output3="TIMING=`echo "$PHPMIN * 60 + $PHPSEC" | bc`";
shell_exec('song_title = " (4:30) "');
shell_exec('$output1');
shell_exec('$output2');
shell_exec('$output3');
echo "<pre>$PHPMIN</pre>";
echo "<pre>$PHPSEC</pre>";
echo "<pre>$TIMING</pre>";
?>