Thursday, 13 December 2012


PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
Nice, but what does that mean? An example:
Example #1 An introductory example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>Example</title>
    </head>
    <body>

        <?php
            
echo "Hi, I'm a PHP script!";
        
?>
    </body>
</html>
Instead of lots of commands to output HTML (as seen in C or Perl), PHP pages contain HTML with embedded code that does "something" (in this case, output "Hi, I'm a PHP script!"). The PHP code is enclosed in specialstart and end processing instructions <?php and ?> that allow you to jump into and out of "PHP mode."
What distinguishes PHP from something like client-side JavaScript is that the code is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script, but would not know what the underlying code was. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.
The best things in using PHP are that it is extremely simple for a newcomer, but offers many advanced features for a professional programmer. Don't be afraid reading the long list of PHP's features. You can jump in, in a short time, and start writing simple scripts in a few hours.
Although PHP's development is focused on server-side scripting, you can do much more with it. Read on, and see more in the What can PHP do? section, or go right to the introductory tutorial if you are only interested in web programming.

Tuesday, 11 December 2012

Alright first things first.

1. I live in an apartment complex, so the whole taking care of pets and washing neighbors cars wont work.

2. If I babysit, I will probably throw the kids against the wall. (I have patience, but it all goes away when dealing with small children. Sorry.) :(

3. I can make handmade items and bake and cook, but I'd have trouble trying to sell stuff, so if you have any ideas how or where to sell that'd be great.

Are there ANY other ways than these (except the selling situation) to make money? I need about $1100 by Summer to make money. I'll get around 100-200 dollars for Christmas, $500 from my mom for the money she stole from my savings account (lol) and I can make the rest up from chores, but I really want to make money faster since the chores money will be going towards the rent. (We're a sort of poor family, but we're pushing right now to get everything paid off.) By the way, this is all for a dog and I am working my best to adopt the sweetie. :)