in one file i have the function ..
Code: Select all
function GetPlaylistPosition()
{
$res = httpQ("getlistpos", "");
return $resїcount($res)-1];
}Code: Select all
echo "<p>Current Postion: ".GetPlaylistPosition()."<br>";Moderator: General Moderators
Code: Select all
function GetPlaylistPosition()
{
$res = httpQ("getlistpos", "");
return $resїcount($res)-1];
}Code: Select all
echo "<p>Current Postion: ".GetPlaylistPosition()."<br>";Code: Select all
echo "<p>Current Postion: ".GetPlaylistPosition()+1."<br>";Code: Select all
echo "<p>Current Postion: ".(GetPlaylistPosition()+1)."<br>";