求助DIY注册用户页面。
[*][*]会员名 *
[*]
[*]
[*]
[*]复制代码
在这里默认值调用企业总数:
[*][*]产品总数:{php echo $db->count($DT_PRE.'sell_5', 'status=3', 1800);}
[*] [*]求购总数:{php echo $db->count($DT_PRE.'buy_6', 'status=3', 1800);}
[*] [*]企业总数:{php echo $db->count($DT_PRE.'company', '1', 1800);}
[*] [*]在线会员:{php echo $db->count($DT_PRE.'online', '1', 1800);}复制代码
把这个:{php echo $db->count($DT_PRE.'company', '1', 1800);}
写在默认注册用户名处,让用户注册时不可DIY用户名。
count($DT_PRE.'company', '1', 1800)+1;} readonly{/if}/>
单独写:web{php echo $db->count($DT_PRE.'company', '1', 1800)+1;} 是可以读出来的,OK,但是写在value里就成了500出错了,何解?
搞定!!!
页:
[1]