Hello All:
I created a simple WHERE statement based on some examples in the forum as shown here:
but when you search on the site I get this returned:
I cannot seem to get this search to work even when there ARE the right variables in the WHERE statement.
thanks for any help on this,
Paul
I created a simple WHERE statement based on some examples in the forum as shown here:
<?php
if(JRequest::getVar('startdate')){
?>
WHERE date > <?php echo JRequest::getVar('startdate'); ?>
<?php
}
?>
Then a simple search box of <b>Search</b>: <input type="text" name="startdate">
but when you search on the site I get this returned:
Unknown column 'date' in 'where clause' SQL=SELECT count(*) FROM jos_chronoforms_contractor_resume_form WHERE date > 06/26/2009Unknown column 'date' in 'where clause' SQL=SELECT count(*) FROM jos_chronoforms_contractor_resume_form WHERE date > 06/26/2009
I cannot seem to get this search to work even when there ARE the right variables in the WHERE statement.
thanks for any help on this,
Paul