Drezard Posted November 12, 2006 Share Posted November 12, 2006 Here is my code: [CODE]$session_user = $_SESSION['user']$userinfo = explode(" ", $session_user);$user = $userinfo[0];$pass = $userinfo[1]; [/CODE]And the error is:[QUOTE]Parse error: syntax error, unexpected T_VARIABLE in /home/wintersw/public_html/class.php on line 2[/QUOTE]What is the problem?Thanks, Daniel Link to comment https://forums.phpfreaks.com/topic/26994-explode-problem/ Share on other sites More sharing options...
Phsycoslaya Posted November 12, 2006 Share Posted November 12, 2006 I think maybe because you have no, ; "Semi-Colon" at the end of the second line. Just a guess.. im still a noob Link to comment https://forums.phpfreaks.com/topic/26994-explode-problem/#findComment-123444 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.