Skip to content
Email: vlad4all90@gmail.com

Try Php

Learn php the easy way

  • Home
  • Tutorials
    • Begginer
  • About
  • Contact

script

February 19, 2016February 19, 2016 vlad4all90

Adding / Small exercise

Now that you learned how to declare variables and concatenate them let’s make a simple exercise and use what we learned in the last tutorials to generate a message that the server will output to the browser:

Continue reading

February 19, 2016February 19, 2016 vlad4all90

Concatenation

The process of concatenation consists of joining two or more variables separating them with a dot. Suppose you want to echo out the following “My age is 25”, you can do it this way:

<?php

$text = “My age is”;

$age = 25;

Continue reading

February 18, 2016February 18, 2016 vlad4all90

Variables in php

Hello again, today i decided to write some basic concepts about php as a programming language and the first thing i want to talk about are the variables.

First thing that you should know is that when you declare a variable you need to put the dollar ( $ ) sign before your variable ex: $x;

Continue reading

February 17, 2016February 17, 2016 vlad4all90

Your first php script

Now that you installed xampp it’s time to set up your project and write your very first php script.

First go to the server root path ( if you remember from the installing and setting up xampp post ) and inside it create a new folder, i will name it “tryphp”. Be careful with that name because it will be important in the future, i recommend to not use spaces or any kind of special characters

Continue reading

Recent Posts

  • Else and Else If Statements February 22, 2016
  • IF statement February 19, 2016
  • Adding / Small exercise February 19, 2016
  • Concatenation February 19, 2016
  • Variables in php February 18, 2016
This website is meant just for teaching and building a community around the subjects that are discussed on this website and by using it you accept the Terms and Conditions.

News

  • Else and Else If Statements
  • IF statement
  • Adding / Small exercise
  • Concatenation
  • Variables in php

Be social!

  • Facebook
  • Twitter
  • Pinterest
  • LinkedIn
  • Home
  • Tutorials
  • About
  • Contact
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Try Php
    • Already have a WordPress.com account? Log in now.
    • Try Php
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Design a site like this with WordPress.com
Get started