/ Published in: PHP
Building a SELECT with conditional WHERE parts, given from form-get parameters.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$selsearch = ' SELECT Uni,Prof,Bearbeiter,Jahr,Semester,ID,Thema,status FROM Habilitation WHERE 1 '; $selsearch .= ' ORDER BY '.$o.' LIMIT '.$posSelect.','.$perpage;