As is, I'm getting nothing in return it appears. I assumed I would get the $HandHum's history for that hand and I could search it for a certain string. Note : I'm just learning PHP/coding so I'm likely missing something stupid and I'm not really asking for help with the coding, just what I should be getting when accessing the "Hand" parameter via the API.
Thanks for any assistance!
Code: Select all
case "Hand":
fwrite($f,"Event = " . $event . "\n");
fwrite($f,"Hand = " . $_POST["Hand"] . "\n");
fwrite($f,"Type = " . $_POST["Type"] . "\n");
fwrite($f,"Name = " . $_POST["Name"] . "\n");
fwrite($f,"Table = " . $_POST["Table"] . "\n");
fwrite($f,"Time = " . $_POST["Time"] . "\n");
fwrite($f,"\n");
$HandNum = $_POST["Hand"];
$params = array("Command" => "LogsHandHistory", "Hand" => $HandNum);
$api = Poker_API($params);
$result = $api -> Result;
$HandHistory = $api -> Hand;