Jump to content

Explode(); Problem


Drezard

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.