Thread: Radio stations
View Single Post
Old 24th August 2014, 23:48   #2
p0rt
Senior Member
 
Join Date: Nov 2010
Posts: 152
coded the whole of null nuke, i took the internet reinventor down off source forge yesterday though

if you have a check box list displaying song names, and the values are an array you will just need, if using php

code:


if ( $submit_make_playlist ) {

for ( $i = 0; $i <= count($checkbox_array); $i++ ) {

$tmpary = explode("|", $checkbox_array[$i]);

if ( !empty( $tmpary[1] ) ) {

$pls .= "contentdir/". $tmpary[1] ."\r\n";

}

}



}

file_put_contents( $filename, $pls );


p0rt is offline   Reply With Quote