in my php file I have this:
<script>var editMode =
<?php if(isset($_Get["e"])){
if($_Get["e"]){
echo "true";
}else{
echo "false";
}
}else{
echo "0";
}
?>;</script>
but when I visit the page with (my domain name)/EditMap.php?e=true the php code executed the echo "0" line which means for some reason it isnt getting the value of e from the url.
Aucun commentaire:
Enregistrer un commentaire