jsonRPCClient Error with php variables
Fixed this now, All you have to do is change it to this

floatval(trim()) ie ...    $betamount=floatval(trim($_POST['bet'])); 


for numbers

and this

and just trim()  ie ... $litecoinaddr=trim($_POST['address']); 


for strings