联系官方销售客服
1835022288
028-61286886
<select class="form-control fl seat">
{php $query='SELECT a.*,b.* FROM @#member_bonus as a,@#member_coupon as b WHERE a.bonus_id= b.id AND a.username= ".$member[username]."';}
{list action=sql sql='$query'}
<option value="{$t.money}">{$t.money}</option>
{/list}
{$sql}
{$error}
</select>
开发红包功能,建立了上面图片中两个数据表,但是调用时一直不出现数据。提示$member[username]这个为空,这是什么原因?如果固定写死又可以