jennyflower
Programmer
Hi,
I seem to having some problems when I want to do something like to an Access database:
$sql = "SELECT [Field Name] FROM table WHERE [Field Name] > " . $_GET['greaternumber'] . "";
I have tried putting single quotes around the php variable with no effect and I think its something to do with the fact that the where field has a space in it.
Can anyone help me? I am using an ADO connection to do this btw
Thanks
I seem to having some problems when I want to do something like to an Access database:
$sql = "SELECT [Field Name] FROM table WHERE [Field Name] > " . $_GET['greaternumber'] . "";
I have tried putting single quotes around the php variable with no effect and I think its something to do with the fact that the where field has a space in it.
Can anyone help me? I am using an ADO connection to do this btw
Thanks