Jump to content

A little php help


PeterD

Recommended Posts

It´s not a Jreviews problem, think it is php one:
Want to show other design, if a listing field have a special number:
 

<?php if($CustomFields->field('jr_number',$listing,false,false) >= '50'):?>
					style
<?php endif;?>

that runs, but now i want another design between the numbers 15 and 49, but the following code

<?php if($CustomFields->field('jr_number',$listing,false,false) >='15' AND <= '50'):?>
			
<?php endif;?>

print out an error.

Maybe someone can help me

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...