Hi guys, just need your guidance on something. I would like to simply write out the “hello thar” string on the html page, but im getting blank results, whats going wrong? Any help would be greatly appreciated, please dont flame a noob.
I have one HTML page called one.html where the code is:
[sub]<?php session_start(); ?>
Untitled Documentsadasd
<?php echo $_SESSION['hello']; ?> [/sub]And the second page PHP page one.php where the code is:
[sub]<?php
session_start();
$_SESSION[‘hello’]=“hello thar”;
echo $_SESSION[‘hello’];
?> [/sub]