API - Export Player Accounts to CSV

For discussion of the Poker Mavens server module and other administration topics
Post Reply
kmcphail
Posts: 4
Joined: Wed Aug 04, 2010 2:11 pm

API - Export Player Accounts to CSV

Post by kmcphail »

I am trying to get this API - PHP example working (located on your support page).

The code listed has one error, missing a ' before the "Player after the echo...
The code found in the ZIP File of all examples seems to be correct.

I have installed the example on the server and when loaded, nothing happens... not even an error message.

I have implemented all of the other API - PHP examples and they all work fine....

Any ideas? Anyone else have this issue?

Thanks in advance...
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: API - Export Player Accounts to CSV

Post by Kent Briggs »

There is a missing single quote at the beginning of one of the echo statements on the web page. I've fixed that now. The actual file inside pmapi.zip was ok, as you mentioned. But it's working fine for me when I test it locally in my browser. When you say nothing happens (no output), is there anything showing when you try to view the page source? Try sticking some extra echo statements (echo "test 1";, etc) and see if you can narrow down the failure point.
Post Reply