Quote:
Originally Posted by FRANK(WGH)
Where do you specify in
PHP Code:
function tba_send_request($method, $arguments=array())
?
|
You shouldn't directly call tba_send_request, this is a sort of "private" helper function. Instead, you call make_array(), get_events(), get_matches(), etc. These functions are the ones that call tba_send_request, and they fill in $method.
You're sure that PHP is installed correctly? You could try this short script to make sure...if PHP is installed okay it will return a web page with information about your PHP/system configuration. If PHP is installed correctly, all you should have to do is fill in your API key, and put both files in the same directory on your web server and then view api_team_history.php with a web browser.
PHP Code:
<?php
phpinfo();
?>
Hope this helps...