hi y'allam a newbie and am having crisis with my sql stmnt.the backend of my app is mysql and the sql statement i want to work is
$sql =select topic_title, topics.mod_id, topic_creator, topics.role, topics.post_timestamp, post_creator, posts.role, posts.post_timestamp from topics, posts where topics.topic_ic=posts.topic_id, topics.mod_id=$mod , posts.post_timestamp between '$startdate and '$enddate
am trying to generate a report from 2 tables. where the user will enter the search criteria and time frame given by $mod,$startdate and $enddate respectivelyPLEASE HELP