You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';-Makes-Me-Look-Stupid-at-Press-Conference.html' at line 17
select events.Title, events.ID, events.Text, events.Image, events.VenueID, events.TypeID, events.Website, events_types.Type, venues.Name, events.Phone, venues.Address from events, events_types, venues where events_types.ID = events.TypeID and venues.ID = events.VenueID and events.ID = 1950502/;-Makes-Me-Look-Stupid-at-Press-Conference.html