1 、用where子句啊
select a.*,b.* from table1 a,table2 b where a.xxx=b.yyy2、用strstr()找一下啊。。
select a.*,b.* from table1 a,table2 b where a.xxx=b.yyy2、用strstr()找一下啊。。
解决方案 »
- curl post的时候 修改请求头 遇到点东西 理解不了
- 我的php页面有一段会员验证代码,能转成html吗?
- 請問怎樣才能用php顯示.swf flash檔呢?
- 怎么将数据库里面的2011-05-01 00:00:00转化为2011年5月的问题!!!
- php连接非本地MSSQL数据库
- oracle的几个问题
- PHP Web MVC 框架 CodeIgniter 中国网站及社区正式上线!
- 关于url链接的问题,在线等,急~~~~~~~~~~~
- Access denied for user
- 各位那有windows下apache+mysql+php4三合一自动安装包可下载呀?
- Php Session Class
- 老问题重提!Mysql大数据量下的优化!
第二个
<?php
$str="123456789";
$n = $_POST["n"];
if (strstr($str, $n )) {
$str = str_replace("5", "<font color=\"#FF0000\">5</font>", $str);
echo $str;
}
?>