PHP help

SagaLore

Elite Member
Dec 18, 2001
24,036
21
81
I need to know what the simplest way to determine if a referal has a ? in it. I don't care about the variables, just the fact there is a question mark.
 

SagaLore

Elite Member
Dec 18, 2001
24,036
21
81
This is what I ended up doing:

if (!empty ($QUERY_STRING))

It tests for anything after the ?, so if it's not empty then I know ? was used.