如何用php写 [英] how to write in php

查看:84
本文介绍了如何用php写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此代码运行良好
在关键字 $ 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  " ;
}

?>  



//输出写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>




您能否在关键字 $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

解决方案

keys[2] search engine, within Keywords


这篇关于如何用php写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆