custom serverside processing
custom serverside processing
Hi evrybody,
I have a new problem when I try to custumise my server_processing script :
[code]
while ( $aRow = mysql_fetch_array( $rResult ) )
{
// well I'd like to add some php code here to change the value of $aRow['user']
// but when I'm writting only one line here, the script stop to work !
$sOutput .= "[";
$sOutput .= '"",';
$sOutput .= '"'.addslashes($aRow['titre']).'",';
$sOutput .= '"'.addslashes($aRow['artiste']).'",';
$sOutput .= '"'.addslashes($aRow['album']).'",';
$sOutput .= '"'.addslashes($aRow['genre']).'",';
$sOutput .= '"'.addslashes($aRow['user']).'",';
$sOutput .= '"'.addslashes($aRow['id_yt']).'",';
$sOutput .= '"'.addslashes($aRow['date_ajout']).'"';
$sOutput .= "],";
}
$sOutput = substr_replace( $sOutput, "", -1 );
$sOutput .= '] }';
[/code]
Anybody understand why ?
regards, val
I have a new problem when I try to custumise my server_processing script :
[code]
while ( $aRow = mysql_fetch_array( $rResult ) )
{
// well I'd like to add some php code here to change the value of $aRow['user']
// but when I'm writting only one line here, the script stop to work !
$sOutput .= "[";
$sOutput .= '"",';
$sOutput .= '"'.addslashes($aRow['titre']).'",';
$sOutput .= '"'.addslashes($aRow['artiste']).'",';
$sOutput .= '"'.addslashes($aRow['album']).'",';
$sOutput .= '"'.addslashes($aRow['genre']).'",';
$sOutput .= '"'.addslashes($aRow['user']).'",';
$sOutput .= '"'.addslashes($aRow['id_yt']).'",';
$sOutput .= '"'.addslashes($aRow['date_ajout']).'"';
$sOutput .= "],";
}
$sOutput = substr_replace( $sOutput, "", -1 );
$sOutput .= '] }';
[/code]
Anybody understand why ?
regards, val
This discussion has been closed.
Replies