Hi all:
This code throws an error I have never run into: "parse error, unexpected ';' in personals.class.php on line 58"
55 function update_personal($personal_id) {
56 $update = DB::$NTGDB->query("UPDATE personals SET ntg_places_id=".$_POST['place_id'].", arrival_date='".date('Y-m-d', strtotime($_POST['arrival_date']))."',
57 departing='".date('Y-m-d', strtotime($_POST['departing'])."', personals_title='".trim($_POST['personals_title'])."',
58 personal_desc='".trim($_POST['personals_desc'])."', status='0' WHERE personal_id='$personal_id'");
Maybe I have been sitting here too long but I can't find the problem?
Thanks