Posts

String Variable in PHPString variables are used for values that contains characters. In this chapter we are going to look at the most common functions and operators used to manipulate strings in PHP. After we create a string we can manipulate it. A string can be used directly in a function or it can be stored in a variable. Below, the PHP script assigns the text "Hello World" to a string variable called $txt: The output of the code above will be: Hello World

String variables are used for values that contains characters. In this chapter we are going to look at the most common functions and operators used to manipulate strings in PHP. After we create a string we can manipulate it. A string can be used directly in a function or it can be stored in a variable. Below, the PHP script assigns the text "Hello World" to a string variable called $txt: <?php $txt="Hello World"; echo $txt; ?> The output of the code above will be: Hello World  URL: http://www.downloadfrostwire.org/ Anchor Text: FrostWire free download or URL: http://www.downloadfrostwire.org/ Anchor Text: download frostwire  

Stairs --A funny story

Bill, Jim, and Scott were at a convention together and were sharing a large suite on the top of a 75 story sky scraper. After a long day of meetings they were shocked to hear that the elevators in their hotel were broken and they would have to climb 75 flights of stairs to get to their room. Bill said to Jim and Scott, let's break the monotony of this unpleasant task by concentrating on something interesting. I'll tell jokes for 25 flights, and Jim can sing songs for 25 flights, and Scott can tell sad stories the rest of the way. At the 26th floor Bill stopped telling jokes and Jim began to sing. At the 51st floor Jim stopped singing and Scott began to tell sad stories. "I will tell my saddest story first," he said. "I left the room key in the car!"

Basic PHP Syntax

Before beginning PHP U have to know Basic HTML: A PHP scripting block always starts with <?php and ends with ?> . A PHP scripting block can be placed anywhere in the document. On servers with shorthand support enabled you can start a scripting block with <? and end with ?>. For maximum compatibility, we recommend that you use the standard form (<?php) rather than the shorthand form. <?php ?> A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting code. Below, we have an example of a simple PHP script which sends the text "Hello World" to the browser: <html> <body> <?php echo "Hello World"; ?> </body> </html> Each code line in PHP must end with a semicolon. The semicolon is a separator and is used to distinguish one set of instructions from another. There are two basic statements to output text with PHP: echo and print . In the example above we have used th

Meaning of mad

Image
Angry; resentful. See synonyms at angry . Suffering from a disorder of the mind; insane. Temporarily or apparently deranged by violent sensations, emotions, or ideas: mad with jealousy. Lacking restraint or reason; foolish: I was mad to have hired her in the first place. Feeling or showing strong liking or enthusiasm: mad about sports. Marked by extreme excitement, confusion, or agitation; frantic: a mad scramble for the bus. Boisterously gay; hilarious: had a mad time. Affected by rabies; rabid. Read more: http://www.answers.com/topic/mad#ixzz1C25G43du

FuN+PHP

PHP - What is it? Taken directly from PHP's home, PHP.net , "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly." This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to. Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won't see! When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor's web browser.