Hi all,
i've been working on a small module (my first one.....so be gentle :-p ), but now i'm totally stressing out...
the module itself is sort of a custom search box, with selects and dateTime Pickers.
i've been able to build the form etc., but now i've caught the input data from the user, and offcourse, using this data i'd like to run a few queries on my db. The problem is though that i can nog get the right syntax for my sql statement, using the variable placeholders which come with the db_query function.
It seems like the variables do not get inserted into the query like they should..Could anybody help me out or at least point me in the right direction please?
blow i've pasted the code i'm using, all works well , except the part from line 316 until the end...
I'd really appreciate it if someone would have a look at this...
<?php
/* $Id$ */
/**
* @file
* Specific browse module for browsing contacts, journals of organisation in a dropdown
*
* Provides dropdowns for browsing
*
*/
/**
* Implementation of the hook_menu().
* set link in admin menu
*/
function browse_menu($may_cache){
$items = array();
if($may_cache){
$items[] = array(
'path' => 'admin/settings/browse',
'title' => t('Browse Display Settings'),
'description' => t('Change how the browse display behaves'),