A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and (status='Succeeded' or status='Requested' or status='Rejected' )' at line 1

select * from transaction where usr_id= and (status='Succeeded' or status='Requested' or status='Rejected' )

Filename: /data/www/html/weidiaocha.cn/models/md.php

Line Number: 3627