K
K
KRHD2015-12-12 23:04:45
PHP
KRHD, 2015-12-12 23:04:45

Can you find an error?

function checkCoupon($coupon) 
 { 
  global $settings; 
  $json = json_decode(file_get_contents('http://api.mcdonate.ru/ajax/ajax_paymentGate.php?context=checkCoupon&server_id='.$settings['serverId'].'&coupon='.$coupon)); 
  var_dump($json); 
 }

Please tell me what is wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LittleFatNinja, 2015-12-12
@LittleFatNinja

Can you find an error?

Can

A
Alexander Litvinenko, 2015-12-12
@edli007

even a couple

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question