Ok so basically what I am trying to do is show a div if MySQL row data is equal to an entered value for example if the user type column says admin-full it needs to show some content.
I am quite new to PHP so I really appreciate your help on this my code is as follows.
<?php
$row_user['type'] = $user_type;
if ($user_type == admin_full)
{
<!-- START DIV DROPDOWN BOX-->
<div class="dropbox">
<a id="myHeader1" href="javascript:showonlyone('newboxes1');" >show this one only</a>
</div>
<div class="newboxes" id="newboxes1">Div #1</div>
<!-- END DIV DROPDOWN BOX-->
}
?>
Like this
I am assuming admin_full is not a constant and you wanted a string otherwise replace that line with
if ($user_type == admin_full)