i am trying to have a login script burt i have this error Undefined variable: _session see below the pages
//checklogin.php
It is $_SESSION not $_session you also need to add session_start() on top of the page
FROM PHP DOC
Variables in PHP are represented by a dollar sign followed by the name of the variable. The variable name is case-sensitive.
$_SESSION is to be written capitalized. In your code it is all lower case:
if(!$_session['name']= myusername){
change to (also add the $ to myusername):
if(!$_SESSION['name']= $myusername){