问题描述
此代码运行良好
在关键字 $ keys [1]中,在 $ keys [2] 搜索引擎中回显您"指向此页面. 如果您喜欢找到Pcboxsearch,则搜索
;
我想问
当我在同一页面上编写此php代码时,
"
我已经尝试过此代码
document.write(''< ifr''+ ="''ame''=" width ="300" height ="150" frameborder ="0"''=" src ="$ url $ keys [1]"marginwidth =" 0"marginheight =" 0"vspace =" 0"hspace =" 0"allowtransparency =" true"scrolling =" no>''+'''');
但不起作用
找到关键字= $ url $ keys [1]
src ="$ url $ keys [1]"同样src ="http://www.pcboxsearch.com/search.php?q=(找到关键字)"
src ="$ url $ keys [1]"此代码是他写的结果src ="http://www.pcboxsearch.com/search.php?q=code项目"
示例输出代码
<?php require_once(' ./pcboxsearch.class.php'); $ keys =& 新 search_keywords(); $ keys = $ keys-> get_keys(); $ url = ' http://www.pcboxsearch. com/search.php?q ='; 如果(计数($ keys)) { echo " 您从< b> $ keys [2]</b>搜索引擎,在关键字< b>< a href ='$ url $ keys [1]'> $ keys [1]</a</b>如果您喜欢找到的Pcboxsearch,则搜索< br>"; } ?>
//输出写php
<iframe src="http://www.pcboxsearch.com/search.php?q=code project" border="0" framspacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
This code has worked well 这篇关于如何用php写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
您能否在关键字
echo "You''re directed to this page from $keys[2] search engine, within Keywords $keys[1] If you Like Pcboxsearch Found You search
";
I wanted to ask
Which as I write this php code on the same page
""
I have tried this code
document.write(''<ifr'' +="" ''ame''="" width="300" height="150" frameborder="0" ''="" src="$url$keys[1]" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no">'' + '''');
but not working
keyword found = $url$keys[1]
src="$url$keys[1]" same src="http://www.pcboxsearch.com/search.php?q= (keyword found) "
src="$url$keys[1]" This code was the result of his writing should src="http://www.pcboxsearch.com/search.php?q=code project"
example output code<?php
require_once('./pcboxsearch.class.php');
$keys =& new search_keywords();
$keys = $keys->get_keys();
$url ='http://www.pcboxsearch.com/search.php?q=';
if (count($keys))
{
echo "You're directed to this page from <b>$keys[2]</b> search engine, within Keywords <b> <a href='$url$keys[1]'> $keys[1]</a> </b> If you Like Pcboxsearch Found You search<br>";
}
?>
//output write php<iframe src="http://www.pcboxsearch.com/search.php?q=code project" border="0" framspacing="0" marginheight="0" marginwidth="0" vspace="0" hspace="0" frameborder="0" height="100%" scrolling="yes" width="100%"></iframe>
can you solution