PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have this javascript that displays an alert box on my home page for users to download a software when click ok, I have been trying to write a session cookie in PHP that display the alert once box per browser session.
I've tried what you said but it's not working, is not producing any error at the same time the alert message session cookie is not displaying per browser session.
function getdownload(){
if (confirm("<?php echo("$message"); ?>")) {
window.location.href='../download/software.exe;
}
}
the alert box is working fine , it just the once per browser session cookie that's not working.... Im sure it something simple it just needs to be figured out...