• Welcome to NamesLot.com Domain Name Forum

    NamesLot.com Domain Name Forum offers a fully open forum to discuss domain industry news and a 0% commission marketplace for you to buy and sell domain names.

    We have reorganized our Marketplace so now it is easier to get attention to your domain while it is also easier for buyers to find the right domain name.

    If you want us to add more threads to our marketplace, please contact us! Listing on our marketplace as always, 100% free! Register NOW or Login HERE!

Arguments in PHP

Status
Not open for further replies.
Hello,

PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. It is among one of the first developed server-side scripting languages to be embedded into an HTML source document, rather than calling an external file to process data. Ultimately, the code is interpreted by a Web server with a PHP processor module which generates the resulting Web page. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications.

Thanks,
 
<?php
function makecoffee($type = "cappuccino")
{
return "Making a cup of $type.
";
}
echo makecoffee();
echo makecoffee(null);
echo makecoffee("espresso");
?>
 
This is server site scripting so you need to try this
<?php
function makecoffee($type = "cappuccino")
{
return "Making a cup of $type.
";
}
echo makecoffee();
echo makecoffee(null);
echo makecoffee("espresso");
?>
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
19,833
Messages
69,830
Members
44,590
Latest member
KRS_Infotech
Active members today
4
New members today
1
New threads today
19
New posts today
19

Follow NamesLot on Twitter!

NamesLot proudly supported by

NamesLot proudly supported by

Top