Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37673

Re: where is the class user?

$
0
0
by errol zantua.  

thank you for you reply. sorry, but i am very noob in PHP.

this is what i wrote in my test.php

<?php

require_once ("/moodle/lib/datalib.php");

print_object($USER); ?>

 

it printed an undefined variable error. how do I do this? sorry for the troubles.


Viewing all articles
Browse latest Browse all 37673

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>