Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   PHP/MySQL problem (http://www.go4expert.com/forums/php-mysql-problem-t18821/)

gilbertsavier 5Aug2009 15:17

PHP/MySQL problem
 
Hi

I have just had a site transferred to me that has [Removed false authorship of website: this is a joke I assume, no such authorship exists in the real world, techAdmin] - and I cannot, for the life of me, understand why it will not properly connect to the MySQL database.
I have done many before - so it is not likely to be a just basic error.

When selecting on the search button bottom left I end up with the following message:

"Error en la Base de Datos al ejecutar
select * from fichas where
tipo=''
and precio>= and precio<= and terretam <= and casatam <= order by puntos descYou 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 precio<= and terretam <= and casatam <= order by puntos desc' at line 3"


The site is [link] - my server "experts" have tried everything and confess to being "flumoxxed !!

Bizarrely - the images that have downloaded (and there are a number genuinely missing) - show in Opera and Firefox - but not in IE !!

pradeep 10Aug2009 10:38

Re: PHP/MySQL problem
 
The query look like missing values for conditions. Do you have the full query you use?


All times are GMT +5.5. The time now is 17:18.