So I have my PHP page and in the address bar it says something like this:
http://blabla/ClientStats.php?client=blabla
I had used the $_GET['CLIENT'] variable successfully until I wanted to access it inside an SQL query, like this:
<?php
$query = "SELECT ... ... ... FROM ... ... ... WHERE Client = '" + $_GET['CLIENT'] + "'";
?>
The query is a lot more complex than that, but will that "WHERE" statement work?
I'd tried to get this working quite a few different ways with no success so if I could find out the way today to get it working tomorrow that would be great (can't even remember if I tried doing it as I wrote above!).
So will that work, if not how should I do it?