There was an error, please try again. select * from Event where EventID = right.phpUnknown column 'right.php' in 'where clause'