日期:2014-05-17 浏览次数:20461 次
<?php $connect = mysql_connect('127.0.0.1', 'root', '123456'); mysql_select_db('name', $connect); $sql = "select tel from user"; $query = mysql_query($sql); $dtp = new DedeTemplate(); $dtp->Assign('carts',$carts); $dtp->LoadTemplate(_PLUS_TPL_.'/user.htm'); $dtp->Display(); exit; ?>