php - Mysql Select query not fetching data with WHERE clause -


i getting error in mysql query.

mysql returned empty result set (i.e. 0 rows). (query took 0.0000 sec)

my sql query is

"select * `transactions` pan_no = 'admpn2123z'" 

data row exists in table.

pan_no structure varchar 255 no none

your code seems right. please check spaces, variables , database. if use in php code try directly in mysql.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -