Brug:
$_SESSION['username'];
$_SESSION['password'];
i stedet for:
$username;
$password;
- You look just like a little hog. Squeal piggy! -
Deliverance
[Redigeret d. 07/07-05 16:13:52 af Philip Birk]
Hmm nu får jeg en anden fejl...
Koden:
$result = mysql_query("
SELECT
*
FROM
members
WHERE
Username = '$_SESSION['username']'
");
Fejlen:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\\apache\\htdocs\\webstore\\administrations_panel.php on line 10
Linjen:
Username = '$_SESSION['username']'
Mvh.
Rune Jensen
---------------------------------------------------------------------------
##The one who laugh last is the one who think slowest!##
---------------------------------------------------------------------------
[Redigeret d. 07/07-05 16:29:53 af Rune Jensen (RoZ)]