lol i was mistaken with the tag which is used in pascal DOH !!!
I was on the right lines just didnt call it properly
cheers for the help been very informative.
example code.
$msg_logout = 'you are logged out MUWHAHHAHA';
later in html code --
echo $msg_logout;
so if they are already logged out will the var never get execuated or assigned ?
thanks again, il be doing my self a database related site. my login script works just slowly going through each stage.
possibly when getting round to it more validation on registation page
example age - twenty
int only instead of string. but i guess the code will do for now
thanks again