Posts

Showing posts from January, 2023

PHP MYSQL - Operators - 5.2

  Assignment Same as... Description x = y x = y The left operand gets set to the value of the expression on the right x += y x = x + y Addition x -= y x = x - y Subtraction x *= y x = x * y Multiplication x /= y x = x / y Division x %= y x = x % y Modulus                          Ex: = <!DOCTYPE html> <html> <body> <?php $x = 100;   echo $x; ?>   </body> </html> Ex: += <!DOCTYPE html> <html> <body> <?php $x = 10;   $y = 20;  $x+=$y; echo $x; ?>   </body> </html> Video

PHP MYSQL - Operators - 5.1

Operators The Operator exhibits an operation $z = $x + $y here =, + are operators PHP divides the operators like Arithmetic operators Assignment operators Comparison operators Increment/Decrement operators Logical operators String operators Array operators Conditional assignment operators PHP Arithmetic Operators Operator Name Example Result + Addition $x + $y Sum of $x and $y - Subtraction $x - $y Difference of $x and $y * Multiplication $x * $y Product of $x and $y / Division $x / $y Quotient of $x and $y % Modulus $x % $y Remainder of $x divided by $y ** Exponentiation $x ** $y Result of raising $x to the $y'th power Ex: + <!DOCTYPE html> <html> <body> <?php $x = 10;   $y = 6; echo $x + $y; ?>   </body> </html> Ex: - <!DOCTYPE html> <html> <body> <?php $x = 10;   $y = 6; echo $x - $y; ?>   </body> </html> Ex: * <!DOCTYPE html> <html> <body> <?php $x = 10;   $y = 6; echo $x * $y; ?>  

PHP MYSQL -Variables, Data Types - 4

 PHP Variables PHP Variables are "containers" for storing information. A variable can have a short name (like m and n) or a more descriptive name (age, carname, total_volume). Rules for PHP variables: A variable starts with the $ sign, followed by the name of the variable A variable name must start with a letter or the underscore character A variable name cannot start with a number A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ ) Variable names are case-sensitive ($id and $ID are two different variables) Eg: $student_name $s1 $s2 PHP Data Types      Variables can store data of different types, and different data types can do different things. PHP supports the following data types: String Integer Float (floating point numbers - also called double) Boolean Array Object NULL Resource Ex1 : <?php $str = "Vesrn"; echo $str; ?> Ex2 <?php $str1 = "Vesrn"; $str2 = "Technologies"; echo $str1.$str2; ?>

PHP MYSQL - Syntax - 3

  Basic PHP Syntax A PHP script is executed on the server only, and the plain HTML result is sent back to the browser. A PHP script can be placed anywhere in the document. However, A PHP script starts with <?php and ends with ?>: A PHP file normally contains HTML tags, and some PHP scripting code. Example <html> <body> <h1>My first PHP page</h1> <?php echo "Hello World!"; ?> </body> </html> Video

Test your Excel Skills - 2

Image
Excel Skills - 2 Loading…

PHP MYSQL - Softwares - 2

 PHP - Softwares 1) What is XAMPP? XAMPP  is an open-source, cross-platform web server that consists of a web server, MySQL database engine, and PHP and Perl programming packages. It is compiled and maintained by Apache. It allows users to create WordPress websites online using a local web server on their computer. It supports Windows, Linux, and Mac. It is compiled and maintained by apache. The acronym XAMPP stands for; X – [cross platform operating systems] meaning it can run on any OS Mac OX , Windows , Linux etc. A –Apache– this is the web server software. M – MySQL – Database. P – PHP P – Perl – scripting language you can download here https://www.apachefriends.org/index.html 2) Editors Netbeans, Notepad++, Sublime Text Editor, etc Watch Video here : https://youtu.be/cZVBAsnJf3k -----------------------------------------------------V e s r n-----------------------------------------------------------

PHP MYSQL - Introduction - 1

Dear Student! we are Vesrn Technologies giving a great opportunity to you and all, to learn PHP & MYSQL course. Our motto is "Making Programmers".   Present we are giving two courses namely 1. C Language (in Telugu) 2. PHP & MYSQL So, in this blog you can find both courses, and your can learn very easily. If you like this, share to all.  Introduction to WebProgramming Client-side scripting  generates code that may be executed on the client end without needing server-side processing. These scripts are typically embedded into HTML text. Examples are HTML, CSS, and JavaScript. Server-side scripting  is a programming technique for creating code that may run software on the server side. In other words, server-side scripting is any scripting method that may operate on a web server. Examples are PHP, ColdFusion, Python, ASP.net, Java, C++, Ruby, C#, etc. What is PHP? PHP stands for Hypertext Pre-processor, that earlier stood for Personal Home Pages. PHP is a server side scri