i have written a login form but
now my welcome page displays error
Notice: Undefined variable: session in C:\xampp\htdocs \signup-login\welcome.p hp on line 18
welcome.php
my problem lies here
Welcome userid=$session[userid]
now my welcome page displays error
Notice: Undefined variable: session in C:\xampp\htdocs \signup-login\welcome.p hp on line 18
welcome.php
Code:
<? include "include/session.php"; ?> <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head> <meta name="GENERATOR" content="Arachnophilia 4.0"> <meta name="FORMATTER" content="Arachnophilia 4.0"> </head> <body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#ff0000"> <? echo "<center><font face='Verdana' size='2' >Welcome userid=$session[userid]<br><br></font>"; ?> </body> </html>
Welcome userid=$session[userid]
Comment