hallo gemeisnchaft
folgendes problem
das ist mein statement
wenn ich dieses aufrufe in einer leeren db tab, dann kommt folgende fehlermeldung
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 '' at line 1
folgendes problem
das ist mein statement
PHP-Code:
$sql8 = "select co.contract_summe as summe, cl.client_name as clname,";
$sql8 .= " cl.client_vorname as conname, co.contract_id, co.contract_client_id,";
$sql8 .= " co.contract_consult_id, co.contract_antrag, co.contract_new as new ";
$sql8 .= " FROM contract co left join client cl ON co.contract_client_id = cl.client_id ";
$sql8 .= " left join consult con ON co.contract_consult_id = con.consult_id";
$sql8 .=" where co.contract_client_id = $client";
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 '' at line 1
Kommentar