PHP beginner |
|
Citaat: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/themafia/public_html/aantekeningen/pmc/install/install.php on line 1117
Deze error krijg ik als ik phpMyChat wil installeren.
De error slaat terug op onderstaand stuk code (bovenste regel is 1113):
fputs ( $fh, '$result = mysql_query($query);'.$lfeed );
fputs ( $fh, '$row = mysql_fetch_row($result);'.$lfeed );
fputs ( $fh, 'define("C_SUPPORT_PAID", '');'.$lfeed );
fputs ( $fh, ''.$lfeed );
fputs ( $fh, '$MSG_DEL = $row[1];'.$lfeed );
fputs ( $fh, '$USR_DEL = $row[2];'.$lfeed );
fputs ( $fh, '$REG_DEL = $row[3];'.$lfeed );
fputs ( $fh, '$result = mysql_query($query);'.$lfeed ); fputs ( $fh, '$row = mysql_fetch_row($result);'.$lfeed ); fputs ( $fh, 'define("C_SUPPORT_PAID", '');'.$lfeed ); fputs ( $fh, ''.$lfeed ); fputs ( $fh, '$MSG_DEL = $row[1];'.$lfeed ); fputs ( $fh, '$USR_DEL = $row[2];'.$lfeed ); fputs ( $fh, '$REG_DEL = $row[3];'.$lfeed );
Wat moet ik hiermee? Want ik zie de fout niet...
Edit: ik heb em al: fputs ( $fh, 'define("C_SUPPORT_PAID", "");'.$lfeed );
|