<?php
$record = array(
'email' => 'emily@kognito.com',
'user_id' => 0,
'course_id' => 1,
'group_id' => 2,
'notification_id' => 'CHAMPION_STATUS_UPDATE',
'datestamp' => date('Y-m-d h:i:s'),
'unixtime' => time(),
);
$q = '
REPLACE INTO `kognito_reminders_log`
(`'.implode(array_keys($record), '`, `').'`)
VALUES
(\''.implode($record, '\', \'').'\')';
';
echo $q;
- Output for 7.0.0 - 7.0.1
- Parse error: syntax error, unexpected '';' (T_ENCAPSED_AND_WHITESPACE), expecting end of file in /in/S6YS8 on line 17
Process exited with code 255. - Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Parse error: syntax error, unexpected '';' (T_ENCAPSED_AND_WHITESPACE) in /in/S6YS8 on line 17
Process exited with code 255.
preferences:
171.41 ms | 1399 KiB | 25 Q