...

View Full Version : Is there something wrong with this code?



thickandthin
11-30-2003, 06:31 AM
<?php echo "$category->cat_id" ?>

ConfusedOfLife
11-30-2003, 06:48 AM
Enclose it by braces:



<?php echo "{$category->cat_id}" ?>

Nightfire
11-30-2003, 03:51 PM
Or just take the quotes away



<?php echo $category->cat_id ?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum