WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 PHP - Echo on Sun Oct 07, 2012 10:33 pm


Mr. WebArtz
Mr. WebArtz
Hello guys, today I will show you how to use echo function inside PHP programming language. PHP is used for interaction website->users. Let's start.

First we have to type a syntax that open php code:


With this syntax we open PHP code. Now, let's print some text on the screen:
echo "Hello website.";
Echo is used to print text, quotation marks are used because our text is not a variable. Semi-culon in the end of echo is used always for short statements.

What we see:
Hello website.

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum