TAILIEUCHUNG - Lecture Introduction to web engineering - Lec 25: Introduction to PHP (Part 2)
After studying this chapter you will be able to understand: Setting the environment, overview of PHP, constants and variables in PHP, operators in PHP, conditional statements in PHP, looping statements, arrays in PHP. | Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 1 Setting the environment Overview of PHP Constants and Variables in PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 2 2 Department of Computer Science, CIIT Islamabad. Operators in PHP Conditional Statements in PHP Looping Statements Arrays in PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 3 3 Department of Computer Science, CIIT Islamabad. Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 4 Arithmetic Operators: +, - ,*, /, % Assignment Operators: = += ($a +=$b ), *= , /= .= ($a .= $b) Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 5 Adds $b in $a Concatenates $b with $a Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 6 Basharat Mahmood, Department of Computer Science,CIIT,Islamabad,Pakistan. 7 String Operators: . , .= $a=“abcd”.”efgh”; $a=abcdefgh $a.=“ijk”; $a=abcdefghijk
đang nạp các trang xem trước