de volgende fout is gegeven:
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 'WHERE 't_zichtbaar' = '1'' at line 1
in dat bestand waar ie dat geeft is t_zichtbaar op regel 307
En dat is deze regel:
$sql = "SELECT * FROM ticket WHERE k_id = '".mysql_real_escape_string($_SESSION['k_id'])."' WHERE '".t_zichtbaar."' = '1'";
Wat kan er fout zijn?
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 'WHERE 't_zichtbaar' = '1'' at line 1
in dat bestand waar ie dat geeft is t_zichtbaar op regel 307
En dat is deze regel:
$sql = "SELECT * FROM ticket WHERE k_id = '".mysql_real_escape_string($_SESSION['k_id'])."' WHERE '".t_zichtbaar."' = '1'";
Wat kan er fout zijn?