Ansel_Tk1 Posted June 8, 2007 Share Posted June 8, 2007 Hi all - wondering if someone could give me an example. I would like to change the class of a div in a repeated region, based on the results of a field in the record. I have been using the conditional regions to display divs but cant figure out how to change the class of a div. I am using for the conditional regions: if (@$row_security_directory_results['directory_listing_advertiselevel'] >= 3) and it would be the same for the class change. Thanks for any help you could give. Quote Link to comment https://forums.phpfreaks.com/topic/54778-a-nudge-in-the-right-direction-class-based-on-record-value/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.