diff -r aae6024757a5 -r 3c49783d0862 fhiiqm/test/vertrag_list_autocomplete1.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fhiiqm/test/vertrag_list_autocomplete1.php Fri Sep 02 12:52:50 2011 +0200 @@ -0,0 +1,40 @@ +queryObjectArray($sql); + if ($result) + { + foreach ($result as $row) + { + $cb = new DateTime($row->contract_begin); +// $clist[] = "\"" . $row->contract_ID . " - " . str_replace($su,$er,$row->contract_name) . " | " . +// str_replace($su,$er,$row->vtyp_bezeichnung) . " | VBeginn: " . $cb->format('d.m.Y') . "\""; + $clist[] = "\"" . $row->contract_ID . " - " . $row->contract_name . " | " . + $row->vtyp_bezeichnung . " | VBeginn: " . $cb->format('d.m.Y') . "\""; + } + } + $dbc -> close(); + echo "[" . implode(", ", $clist) . "]"; // Format, das jquery source erwartet +?> \ No newline at end of file