What about parameter passing and parameter reference?

Source: Internet
Author: User
Parameter passing and parameter reference problem??
I have a flash player, introduced into a PHP page with an OBJECT tag, passed in the parameter to the PHP page, and then used $_get["" "to get the incoming parameters, and then put the passed parameters into a string, as a value inside the Param, but in any case can not be implemented. I am the first time to contact PHP this thing, please experts to teach you, thank you


<title>MP3 Player Quoter</title>


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




/>

Texte alternatif




I don't know why I can't do it here, as if the value returned by the CreateValue function is not a string at all.

------Solution--------------------
PHP code
function createvalue ($filename, $showtop, $showinfo, $showvolume) {$val = "mp3= $filename &showtop= $showtop &showinfo= $showinfo &showvolume= $showvolume"; echo $ val;//, what are you looking at? 
------Solution--------------------
Browser opens, take a look at the source file to see the
/>
What value is parsed out of this line.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.