How To Receive $_session Variable As A Parameter In Onload Event
I'm trying to receive a SESSION variable as a parameter in a javascript function called in an onload event, but nothing happens. My aim is to change the background color of the las
Solution 1:
You need to put php code into ''
:
<body onload="identificar_hijo('divGeneral','<?php echo $_SESSION['name_sidebar'];?>')">
Post a Comment for "How To Receive $_session Variable As A Parameter In Onload Event"