I have a div that is initially hidden
<div class="create_member" style="position:absolute; display:none;" >
I want to unhide it when my variable is "1". I currently have this code but it does not unhide the div.
<?php
if ($choice == "1"){
?>
<style type="text/css">.create_member{
display:block;
}</style>
<?php
create_member($address_book);
}
How should I go about this?