Variable inside SQL Select statement.

Variable inside SQL Select statement.

BeekeeperBeekeeper Posts: 2Questions: 1Answers: 0

How do you insert a query string in the SQL select statement.
I want to get the paramter from the url and want to place it here using variable.
f.paiddate BETWEEN '".$yearURL."-01-01 00:00:00' AND '".$yearURL."-12-31 23:59:59'

URL is something like this
http://example.com?yr=2018

Answers

This discussion has been closed.