Sei sulla pagina 1di 3

Register | Login

The PHP Basics GO

Home Getting Started Q&A PHP Video Tutorials MySQL Video Tutorials Quiz Yourself Software Downloads About

Have a question? Click here to ask the community.

Tutorial 4 – PHP Variables Tutorials


Basic PHP Tutorials
| In: 4. Variables | 17,269 views
1. Intro To PHP
Video Tutorial 2. Syntax
3. Comments
4. Variables
5. Echo
6. Strings
7. Arrays
8. Include
9. Require
10. Operators
11. If Statements
12. If Else Statements

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
13. Else If Statements

Tutorial 4 - PHP Variables 14. Switch Statements


Watch later Share 15. While Loop
16. Do While Loop
17. For Loop
18. Foreach Loop
19. Functions
20. Forms
21. GET & POST
Basic MySQL Tutorials
1. Intro To MySQL
2. Database Creation
3. Database Connect
4. Database Insert
5. Database Select
6. Database Where
7. Database Order By

News
General News

Users Online
Users Online: 3 Users
Most Users Ever Online: 137
Video Source Code
1 <?php Helpful Links
2 // File Description: PHP - Variables Tutorial W3schools
3 $variableName = "Robert"; Easy Programming
4 $a_Num = 10;
Robert's Homepage
5 $aNumber = 9000;
Tizag
6  
7 $xValue = 8; Programming Assignment
8   Help
9 $userName;
10 $user_name;
11  
12 ?>

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Common Rules For Naming Variables:
A variable name must start with an underscore “_” or letter
A variable name can only include alpha-numeric characters and underscores (a-z, A-Z, 0-9 and _ )
A variable name cannot contain spaces. If the variable is more than one word, separate it with capitalization
or with an underscore.

Comment Form
You must be logged in to post a comment.

Copyright © 2012 - The PHP Basics - is proudly brought to you by Robert Smith | Log in
Tipz Theme 1.0 is created by: Design Disease

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

Potrebbero piacerti anche