Link to home
Start Free TrialLog in
Avatar of epifanio67
epifanio67

asked on

Mysql: query not working, why? pls take a look...

hello experts,

why is this query not working for me?

SQL QUERY
SELECT * FROM `aex_session` WHERE `session_id` = tacs6t1ueqtnajp3r2vd66tls2

ERROR:
#1054 - Unknown column 'tacs6t1ueqtnajp3r2vd66tls2' in 'where clause'


TABLE: aex_session
time                    session_id                   data
10.14.11 17:21               tacs6t1ueqtnajp3r2vd66tls2       a:2:{s:6:"expire";i:120;...
10.14.11 17:26               tacs6t1ueqtnajp3r2vd44444test2       a:2:{s:6:"expire";i:120;...
10.14.11 17:32               tacs6t1ueqtnajp3r2vd33333test3       a:2:{s:6:"expire";i:120;...
thx,
ASKER CERTIFIED SOLUTION
Avatar of Kevin Cross
Kevin Cross
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To be more clear:
SELECT * FROM `aex_session` 
WHERE `session_id` = 'tacs6t1ueqtnajp3r2vd66tls2';

Open in new window

Avatar of epifanio67
epifanio67

ASKER

yep... that was the issue..

thanks so much..

regards,