View Single Post
  #9  
Old 01-23-2011, 09:57 AM
  promart418's Avatar 
promart418 promart418 is offline
 

Senior Member
  
Join Date: Jan 2009
Location: Leeds, West Yorkshire, England
Posts: 137
 

Default Re: If Statement for any page?

Thanks for your help. I am a novice with php and mysql, so most of it looks foreign to me at the moment. The code was written by a third party and I just wanted to tweak it.

I tried the above, which doesn't crash the site like when I did it myself, but the feed is the same on both pages. I'm wondering if I need to declare the $cat variable before calling it (please excuse my terminology).

p.s. categoryid no. 252 in my MySQL table is the all-in-one category, so I was hoping that page would show a different feed integration category.

Thanks,
__________________
x-cart version - 5

Martin Procter

Promart Supplements
Nicola Anne Photography
Reply With Quote