hjf288 Posted April 17, 2010 Share Posted April 17, 2010 N/m got it :) Link to comment Share on other sites More sharing options...
0 Hot Posted April 17, 2010 Share Posted April 17, 2010 Just put the variable in your query. SELECT *, AES_DECRYPT(encryptkey1, '$key') ... Link to comment Share on other sites More sharing options...
0 hjf288 Posted April 17, 2010 Author Share Posted April 17, 2010 Thats what i though but: Parse error: syntax error, unexpected '"' Link to comment Share on other sites More sharing options...
0 Hot Posted April 17, 2010 Share Posted April 17, 2010 Thats what i though but: Parse error: syntax error, unexpected '"' Well I don't see any double-quotes out of place in the code you posted. What function do you have actually running this query? What I mean is, something has to be taking this $GETKEY variable and actually sending the query it holds to the MySQL server. And I assume that same function replaces the {membersid} part with a value first. So what function is that? Link to comment Share on other sites More sharing options...
Question
hjf288
N/m got it :)
Link to comment
Share on other sites
3 answers to this question
Recommended Posts