Welcome, Guest
Please Login or Register.    Lost Password?

Wrong Query is created
(1 viewing) (1) Guest
Welcome to the ToolsJX forum!


Go to bottomPage: 1
TOPIC: Wrong Query is created
#614
Wrong Query is created 2 Months, 1 Week ago Karma: 0
I have a table in my phpmyadmin created and i want to call it as it is on joomla site

The query that runs on joomla site is wrong ..

The table is for example with 10 fields

Field 1=names Field 2=2000 field 3=1900
name 2001 1988
name 2002 1998
name 2001 1980

I set it up on backend and the result in joomla site is

Field 1=names Field 2=2000 field 3=1900
name 2000 1900
name 2000 1900
name 2000 1900


I noticed that the query that runs is ...
Query: SELECT names, 2000, 1900 FROM tablex ORDER BY names ASC LIMIT 0, 30

I run this query to my sql and i got the same result ..

How can i fix that??
builders
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#618
Re:Wrong Query is created 2 Months, 1 Week ago Karma: 1
Hi,

is the name of your field 1000 and 2000?

best regards,
Viljem
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting