This topic is locked

Strange SQL description error ...at hosting server

4/14/2009 12:31:44 AM
PHPRunner General questions
jgeorgiou author

I have a problem with the create login page. I have made an application that

use the option USERS CAN SEE AND EDIT THEIR OWN DATA ONLY. I have used

that in the past in many projects and worked fine. Now the problem .....when

i run it on localhost php/mysql server on my windows......everything is fine!!
When i run it at hosting server , after login page says
PHP Error message technical info

Error type 256

Wrong description Unknown column '' in 'where clause'

URL www.bgnet.gr/admin/login.php?

Error in file /home/bgnetgr/public_html/admin/include/dbconnection.php

error line 34

SQL query select * from `table1` where ``='1' and ``='1'
You can go at URL url , register a user (made it simple) ...and after that login with that user

jgeorgiou author 4/14/2009

I have a problem with the create login page. I have made an application that

use the option USERS CAN SEE AND EDIT THEIR OWN DATA ONLY. I have used

that in the past in many projects and worked fine. Now the problem .....when

i run it on localhost php/mysql server on my windows......everything is fine!!
When i run it at hosting server , after login page says
PHP Error message technical info

Error type 256

Wrong description Unknown column '' in 'where clause'

URL www.bgnet.gr/admin/login.php?

Error in file /home/bgnetgr/public_html/admin/include/dbconnection.php

error line 34

SQL query select * from `table1` where ``='1' and ``='1'
You can go at URL url , register a user (made it simple) ...and after that login with that user


I DONT NEED ANSWER......SOLVED IT

IF SOMEONE HAS SAME PROBLEM SHOULD CHECK IF HE TRANSFERED RIGHT THE DATABASE