I'm struggling to understand how to pull a query string into a SQL Query.
All I'm trying to run is the following:
but keep getting errors of:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING
I think I may have completely miss-understood what I was reading!
$query = "Select * from products WHERE ID = $_SERVER['id']";