PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   lists.php question (http://www.phpdig.net/forum/showthread.php?t=2293)

nealw 12-13-2005 10:54 PM

lists.php question
 
Ordering of words on lists.php

IE: http://www.example.com/phpdig/list.php

When I pull up this page on my site the code changes the order of the words from a query. It looks like it's changing them to an alphabetical list.

Example:
I run a search for "vacations in cancun mexico" but when I pull up the lists.php page it's written as "cancun mexico vacations".

Is there a way to have lists.php simply display the query in the original order it was typed in as?

nealw 12-14-2005 06:03 PM

Solution
 
I figured it out:

I commented out this line at about line 260 of phpdig_functions.php
sort($includes);


All times are GMT -8. The time now is 03:55 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.