Qual è il problema? Ho provato a forzare $id = 6 prima del for e mi stampa 6 volte la pappardella dello script:

Codice PHP:
<?php
$id 
6;
for(
$i=0;$i<$id;$i++){
    echo
"<script>
    
$f(\"player$i\", \"http://www.****.com/script/flowplayer-3.0.7.swf\", {
    // this will enable pseudostreaming support  
    plugins: {  
        pseudo: { url: 'http://www.****.com/script/flowplayer.pseudostreaming-3.1.1.swf' },
        controls:null
    },
    // clip properties  
    clip: {
    // these two settings will make the first frame visible
        autoPlay: false,
        autoBuffering: true,
    // locate a good looking first frame with the start parameter
        start: 62,
    // make this clip use pseudostreaming plugin with provider property
        provider: 'pseudo'  
    }, play:null
});
</script>"
;
}
?>
Mi da un warning di "Undefined variable: f" (non so da dove arriva la variabile $f iniziale) ma per il resto fa quanto deve.