Question
$_SESSION Values Issue
First, let me state that i am a beginner when it comes to
PHP, so please forgive me. I have read the posts that i have seen
on the board regarding this issue and have yet been able to fix my
issue.
I am using a simple form that is accessing a mySQL database for a sign-in. I am using the code that is generated by Dreamweaver Server Behaviors. The name is being looked up and it is returning to the "successful page." I have checked both pages invoved and have made sure that the following is called prior to the doc type declaration:
<?php //initialize the session
if (!isset($_SESSION)) {
session_start();
}
?>
...
...
<!DOCTYPE>
Now, in addition to this, i have ensured that the temp directory is defined in the php.ini file. With both of these things done, does anyone have any suggestions?
I am using the Dreamweaver CS3
Thanks
I am using a simple form that is accessing a mySQL database for a sign-in. I am using the code that is generated by Dreamweaver Server Behaviors. The name is being looked up and it is returning to the "successful page." I have checked both pages invoved and have made sure that the following is called prior to the doc type declaration:
<?php //initialize the session
if (!isset($_SESSION)) {
session_start();
}
?>
...
...
<!DOCTYPE>
Now, in addition to this, i have ensured that the temp directory is defined in the php.ini file. With both of these things done, does anyone have any suggestions?
I am using the Dreamweaver CS3
Thanks
