You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Vernon A Webb <Ve...@net-nation.com> on 2002/01/30 02:28:22 UTC

PHP Session

I am pulling my hair out trying to set a session. Can 
anyone please tell me what's wrong with this could? I 
simply want to set a session and echo it back to the page.

Thanks

<?php
session_start();
session_register("name")
{
$name = my name
}
echo "$name"

?>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org