Code: http://pastebin.com/h8WuYbJn
Full error:
Fatal error: Call to undefined function AddUser() in C:\xampp\htdocs\scripts\steam.php on line 37
What exactly am I doing wrong? Everything should be right, but it isn't (at least according to PHP).
Code: http://pastebin.com/h8WuYbJn
Full error:
Fatal error: Call to undefined function AddUser() in C:\xampp\htdocs\scripts\steam.php on line 37
What exactly am I doing wrong? Everything should be right, but it isn't (at least according to PHP).
You don't use the .
in PHP. Use ->
instead, eg:
$x->AddUser('FakeId','FakeUser');
$x->Refresh('FakeUser');
The .
is PHP's concatenation operator, so it thinks you want
$x . AddUser('FakeId', 'FakeUser'); // $x concatenated with AddUser(...)
And of course Adduser()
is undefined.