You are currently viewing Day 1: Introduction to PHP/MYSQL

Day 1: Introduction to PHP/MYSQL

  • Post author:
  • Post category:PHP
Hello, this is Francis. I will try to make the tutorial simple and very easy to understand. No Biddle-dibble, just straight to the point. Are you ready?
PHP is a server scripting language and a powerful tool for making dynamic and interactive Web pages. PHP means Pre-processor Hypertext. PHP cannot run without its environment, I mean server. You can download XAMPP OR WAMPSERVER free online and install it on your system. It comes with Apache PHP MYSQL.
MySQL is an open source relational database management system that runs as a server providing multi-user access to a number of databases. It is named after co-founder Michael Widenius’ daughter, My. The SQL phrase stands for Structured Query Language.
Let’s start with PHP first. If you are just learning a programming language, what you need to focus most is the language syntax & keywords.
TOOLS YOU NEED;
You will need Dreamweaver also. Buy the software and install it on your system. There are free website editors online which UI (User Interface) is not as complex and friendly as Dreamweaver like notepad++ but I prefer Dreamweaver.
PHP SYNTAX:
To start writing code, you start with;
<?php
?>
SOME OF THE PHP KEYWORDS:
abstract, and, array(), as, break, callable, case, catch, class, clone, const, continue, declare, default, die(), do, echo,else,elseif,empty(),enddeclare,endfor,endforeach,endif,endswitch,endwhile,eval(),exit(),extends,final,finally,for,foreach,function,global,goto,if,implements,include,include_once,instanceof,insteadof,interface,isset(),list(),namespace,new,or,print,private,protected,public,require,require_once,return,static,switch,throw,trait,try,unset(),use,var,while,xor,yield
You don’t need to learn everything but for now just need to master the basic keywords;
array(), as, break, case, catch, class, clone, const, continue, declare, default, die(), do, echo,else,elseif,empty(), eval(), exit(), extends, final,finally, for,foreach,function, global, goto, if, implements, include, include_once, instanceof,insteadof,interface, isset(),list(), namespace, new,or,print,private,protected, public,require,require_once, return,static,switch,throw,trait, try,unset(), use,var,while,xor
Remember, the latest version is now PHP 7.x
to be continued….