View Single Post
  #9  
Old 07-29-2003, 12:16 PM
 
aguy2no aguy2no is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: The Netherlands
Posts: 37
 

Default

He Funkydunk,

a million, man! I placed the code in the proper files.

I started with

Code:
&orderby=price

I did not really get it where to place it. What I did is the following:

Code:
$search_query = "($sql_tbl[products].categoryid='$cat' or $sql_tbl[products].categoryid1='$cat' or $sql_tbl[products].categoryid2='$cat' or $sql_tbl[products].categoryid3='$cat') and $sql_tbl[products].forsale='Y' &orderby=price";

As you can see I put it at the end as an argument. Not sure if that's ok....Well I am sure that it is nog OK, because it is not working....

The order by price argument doesn't bring up any errormessage but no products will show up.

I reckon I made a mistake here, ah... What did I do wrong???

The rest of your mods seem to be fine. Thanks a lot...very usefull mods!
[/quote]
Reply With Quote