Hi all,
I am getting an error when i pass a variable from a link to a querry on the next page.
Heres the code:
<cfquery name="getAll_rent" datasource="dunskii" dbtype="ODBC">
SELECT * FROM property_rent WHERE rent_id EQ '$id'
</cfquery>
and heres the error:
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'rent_id EQ '$id''.
The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (48:5) to (48:67).
cheers,
d
I am getting an error when i pass a variable from a link to a querry on the next page.
Heres the code:
<cfquery name="getAll_rent" datasource="dunskii" dbtype="ODBC">
SELECT * FROM property_rent WHERE rent_id EQ '$id'
</cfquery>
and heres the error:
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'rent_id EQ '$id''.
The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (48:5) to (48:67).
cheers,
d