用户注册



邮箱:

密码:

用户登录


邮箱:

密码:
记住登录一个月忘记密码?

发表随想


还能输入:200字

用户注册



邮箱:

密码:

用户登录


邮箱:

密码:
记住登录一个月忘记密码?

发表随想


还能输入:200字

请选择技术分类

 *如果你找不到更细的分类,可以选择上级分类
当前位置:云代码 - 技术问答 - PHP

MySQL里面的字体php后台功能表中怎么显示

 悬赏:10|提问者:buktam|浏览:2528
举报|2014-04-09
MySQL里面的字体php后台功能表中怎么显示    <table width="500" border="1" bordercolor="#FFCC00" cellpadding="0" cellspacing="1">
<tr align="center" bgcolor="#FFCC33">
           <th width="300" bgcolor="#FFCC33">信息标题</th>
<th width="300" bgcolor="#FFCC33">联系人</th>
<th width="350" bgcolor="#FFCC33">联系电话</th>
<th width="350" bgcolor="#FFCC33">发布时间</th>
<th width="200" bgcolor="#FFCC33">操作</th>
          </tr>
 <?php while ($row=mysql_fetch_assoc($result)): ?>
       
        <tr align="center" >
                <td width="111"><?printf($row['titletext']);?></td>
<td width="63"><?printf($row['linkman']);?></td>
<td width="79"><?printf($row[tel]);?></td>     
<td width="61"><?printf($row[4]);?></td>
 <td width="125"><a href="show_page.php" target="_blank">查看</a></td>
          </tr> <?php endwhile; ?>
    </table><?php
  echo '<LI align="center">'.$page->fpage(array(8,3,4,5,6,7,0,1,2)).'</LI>';
?></td>
MySQL

我来回答

所有回答
举报|(1)|(0)2014-04-10

MySQL里面的字体?

没看懂问什么啊

  • 追问:对MySQL的字体
  • 回答:mysql哪有字体这种概念的
举报|(1)|(0)2014-04-11
问的是数据库里的文字吧?
这样显示没错了
$row['columnName']
里面要写对字段名,注意大小写!
举报|(0)|(0)2014-05-04
MySQL里面的字体php后台功能表中怎么显示    <table width="500" border="1" bordercolor="#FFCC00" cellpadding="0" cellspacing="1">
<tr align="center" bgcolor="#FFCC33">
           <th width="300" bgcolor="#FFCC33">信息标题</th>
<th width="300" bgcolor="#FFCC33">联系人</th>
<th width="350" bgcolor="#FFCC33">联系电话</th>
<th width="350" bgcolor="#FFCC33">发布时间</th>
<th width="200" bgcolor="#FFCC33">操作</th>
          </tr>
 <?php while ($row=mysql_fetch_assoc($result)): ?>
       
        <tr align="center" >
                <td width="111"><?printf($row['titletext']);?></td>
<td width="63"><?printf($row['linkman']);?></td>
<td width="79"><?printf($row[tel]);?></td>     
<td width="61"><?printf($row[4]);?></td>
 <td width="125"><a href="show_page.php" target="_blank">查看</a></td>
          </tr> <?php endwhile; ?>
    </table><?php
  echo '<LI align="center">'.$page->fpage(array(8,3,4,5,6,7,0,1,2)).'</LI>';
?></td>
举报|(0)|(0)2014-05-29
???????
举报|(0)|(0)2014-07-18

问题在哪里?

举报|(0)|(0)2014-09-12
你能问是编码问题吧, 如果你php里的 charset=utf-8
那么你在代码mysql的时候 connect完 还要设置这个连接编码:  
myql_connect(host,use,pwd);
mysql_query('set names utf8;');

注意: 保证 insert, update, selet 之前都要设置统一编码, 使用时才有正确显示.
举报|(0)|(0)2014-12-05
echo 直接输出就好,不过编码要统一不然就会是乱码
举报|(0)|(0)2014-12-11

看不懂

举报|(0)|(0)2015-01-13

格式问题吗

举报|(0)|(0)2017-04-18
??
举报|(0)|(0)2017-06-24
不知道您说的什么意思
举报|(0)|(0)2018-03-13
mysql  有字体吗?
举报|(0)|(0)2018-11-06
456
#14542
举报|(0)|(0)2018-12-25
1111
举报|(0)|(0)2019-07-30
111
举报|(0)|(0)2022-02-04
6

相关提问