I am trying to figure out how to sort the database info by column in a desc fashion. I can't figure out how to do this. They seem to be sorting by column: cf_id now which isn't going to do me any good looking at a list of information that is not sorted in some reasonable manner.
Forums
Sort Connectivity By Column
When I use ORDER BY 'fieldname' in the order fields box I get this error when I go to view my records: Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\Joomla3\components\com_chronoconnectivity\libraries\connection.php on line 300
what am I doing wrong?
what am I doing wrong?
Hi jparker,
You can't use straight quotes there. Either use ORDER BY fieldname or better ORDER BY `fieldname`
Bob
You can't use straight quotes there. Either use ORDER BY fieldname or better ORDER BY `fieldname`
Bob
Thank you that worked! I guess I had been typing in the ORDER by in the text box and didn't need to! I have one more problem. My form is populating the database perfectly except for one field which fails to transfer any information to the database. I have been looking around for the problem and cannot figure this out either?
This topic is locked and no more replies can be posted.