参数传递与参数引用有关问题?

WBOY
Release: 2016-06-13 13:52:54
Original
962 people have browsed it

参数传递与参数引用问题??
我有一个flash播放器,用object标签引入到一个php页面里面,传入参数到这个php页面,然后用$_GET[""]来获得传入参数,然后将传入的参数整理成一个字符串,作为param里面的一个值,但是无论如何都实现不了。我是第一次接触php这个东西,请高手们指教一下,谢谢


mp3 player quoter


function createValue($filename,$showtop,$showinfo,$showvolume)  
{  
$val="mp3=$filename&showtop=$showtop&showinfo=$showinfo&showvolume=$showvolume";
return $val;
}
?>




/>

Texte alternatif




在这里不知道为什么就是不行,好像createValue函数返回的值根本就不是一个字符串似的。

------解决方案--------------------
PHP code

function createValue($filename,$showtop,$showinfo,$showvolume)    
{  
$val="mp3=$filename&showtop=$showtop&showinfo=$showinfo&showvolume=$showvolume"; 
echo $val;//看看是什么? 
}
<br><font color="#e78608">------解决方案--------------------</font><br>浏览器打开后,用查看源文件看一看<br><param name="FlashVars" value="<?php" createvalue> /><br>这一行解析出来的value是什么。 <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!