View Single Post
  #1  
Old 12-19-2003, 09:29 PM
 
jordan0 jordan0 is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: San Francisco, CA
Posts: 77
 

Default Search Results window title: more descriptive

Hi,
I have gotten x-cart to pass the in_category part of the seach query into a global variable that I have used to do other things on my site (like making mod sort work the way i want it to). I want to use it now to make the title of the search results more informative so when I use hard-coded search links they appear to function a bit nicer. If anyone wants instructions on passing search query bits into global variables I will share the process Б─⌠ it is very simple.
So now that I have this variable that contains a category ID, what do i use to display the name of that category id?
i tried
Code:
$categories[$stay_in_category].category
($stay_in_category is the name of this global variable that contains the category id)
but that just gives me this
Code:
Array[12].category

I know this is simple, please help
thanks
-Jordan
__________________
Jordan Sitkin
http://www.kitkraft.biz
X-Cart 4.0.18 [unix]
Reply With Quote