Priority on ORDER BY Field in search engines

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 20, 2012   (RSS)

Re: [Djulia] Priority on ORDER BY Field in search engines

By Jason - January 18, 2012

Hi,

You could try something like this in the orderBy option:

'orderBy' => "(NOT (title LIKE '%".mysql_escape(@$_REQUEST['title,content_query'])."%'))",

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Priority on ORDER BY Field in search engines

By Djulia - January 20, 2012

Hi Jason,

It is perfect! Thanks! :)

Djulia