Hi,
Can we use PHP to make a particular "Div" visible or invisible by clicking on a link?
Thanks
Div handling using PHP
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: Div handling using PHP
You can if you use some css.
Code: Select all
if($value==2)
{
$display="block";
}
else
{
$display="none";
}
echo'<DIV style="display:'.$display.' ";">';
Re: Div handling using PHP
Thanks alot aceconcepts.