Function width
-
Hello, I want to display something if the width of a game is <=600, and if the width is >600 I want to display nothing… how can I do that? I tried to make a function but doesn’t work.
<?php function blabla($blabla = '<?php $values = get_post_custom_values("width"); echo $values[0]; ?>') { if ( $blabla <= 600) $blabla= "<div style='float:right'>afffff</div>"; } ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Function width’ is closed to new replies.