This commit is contained in:
Christian Paminger
2007-09-28 07:36:58 +00:00
parent 45377378c6
commit cf82a429fd
+1 -1
View File
@@ -73,7 +73,7 @@ while ($row=pg_fetch_object($result))
// Ergebnisse laden
$sql_query="SELECT vw_auswertung.* FROM testtool.vw_auswertung";
if (isset($_POST['reihungstest']))
$sql_query.=' JOIN public.tbl_prestudent USING (prestudent_id) WHERE 1 OR reihungstest_id='.$_POST['reihungstest'];
$sql_query.=' JOIN public.tbl_prestudent USING (prestudent_id) WHERE TRUE OR reihungstest_id='.$_POST['reihungstest'];
//echo $sql_query;
if(!($result=pg_query($conn, $sql_query)))