Commit 1200f0b4 by 冷斌

update

parent 5b57676a
...@@ -87,6 +87,8 @@ if($_POST['trade_status'] == 'TRADE_FINISHED') { ...@@ -87,6 +87,8 @@ if($_POST['trade_status'] == 'TRADE_FINISHED') {
mysqli_select_db($link, 'zhibo'); mysqli_select_db($link, 'zhibo');
mysqli_query($link,"set names utf8"); mysqli_query($link,"set names utf8");
$result = mysqli_query($link,"select * from cmf_users_charge where orderno='$out_trade_no' and money='$total_fee' and status='0' and type='1'"); $result = mysqli_query($link,"select * from cmf_users_charge where orderno='$out_trade_no' and money='$total_fee' and status='0' and type='1'");
var_dump($result);
die;
$row = mysqli_fetch_assoc($result); $row = mysqli_fetch_assoc($result);
$str = json_encode($row); $str = json_encode($row);
if($row){ if($row){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment