passing parameters
-
I’m trying to pass a date range through the URL – It all makes sense but I can’t save a report with an error and I keep getting an error when I try to save – here’s my sql query without the parameters:
SELECT * FROM40e_rg_lead
WHERE form_id=4 &&status
=”active” anddate_created
BETWEEN “2018-01-01” and “2018-02-01”Here’s what I’m using with the parameters
SELECT * FROM
40e_rg_lead
WHERE form_id=4 &&status
=”active” anddate_created
between date(‘<?php $_GET[date_from]; ?>’) and date(‘<?php $_GET[date_to]; ?>’)The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘passing parameters’ is closed to new replies.