View Single Post
  #10  
Old 01-23-2005, 06:35 PM
 
mustang mustang is offline
 

eXpert
  
Join Date: Nov 2003
Location: US
Posts: 210
 

Default

Quote:
Originally Posted by mffowler
Anyone know what the correct syntax of:

Code:
{if $images ne "" and count($images) 1}

I would love to be able to not have a blank detailed image box when there isn't a second one (per this post).
Thanks,

Mike.//

Deonya - Thanks! Works great!

One small error in the code is that last part that Mike noted above. The correct syntax of the last line should be
Code:
{if $images ne "" and count($images) ne 1}

(The last 'ne' was left out. )

Thanks again Deonya!
__________________
X-Cart Gold 4.2.3
-----
PHP 5.2.17 | MySQL 5.1.52
Reply With Quote