I've got a script that uses a url parameter to hit a service that returns a set of data. I would like however to add "default" values to the two variables that I have set.
reporting/interface/charts/services/ticketsopenedclosed.php?startDate=&endDate=",
My initial thought was to use an if statement but I'm not sure how to use logic on the variable such as if $startdate = null ... default value.
Perhaps there is a better way to do this other than an if statement?
Thank you.