Beruflich Dokumente
Kultur Dokumente
- input restrictions
- included reset button to
- new address for daily lesson html>>> http://169.254.50.67:8080/webdevrvn
- alternate site > http://169.254.50.67:8080/html5 , tutorial >>>
http://169.254.50.67:8080/html5/www.w3schools.com/html/index.html
color
date
datetime
datetime-local
email
month
number
range
search
tel
time
url
week
Friday, Oct.5
The most common way to add styling, is to keep the styles in separate CSS
files. But, in this tutorial, we use internal styling, because it is easier to
demonstrate, and easier for you to try it yourself.
NEW CSS TUTORIAL SITE >>>
HTTP://169.254.50.67:8080/CSS3/WWW.W3SCHOOLS.COM/CSS/DEFA
ULT.HTML
Friday, Oct.5
BOOTSTRAP 4 TUTORIAL
❮ HomeNext ❯
-----------------------------------------------------------------------------------------------------
Why PHP?
PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
PHP is compatible with almost all servers used today (Apache, IIS,
etc.)
PHP supports a wide range of databases
PHP is free. Download it from the official PHP resource: www.php.net
PHP is easy to learn and runs efficiently on the server side
=====================
A PHP script is executed on the server, and the plain HTML result is
sent back to the browser.
Example
<?php
$txt = "Hello world!";
$x = 5;
$y = 10.5;
?>
Run example »
After the execution of the statements above, the variable $txt will hold the
value Hello world!, the variable $x will hold the value 5, and the
variable $y will hold the value 10.5.
Note: When you assign a text value to a variable, put quotes around the
value.
PHP Variables
A variable can have a short name (like x and y) or a more descriptive name
(age, carname, total volume).
=============
Output Variables
The PHP echo statement is often used to output data to the screen.
The following example will show how to output text and a variable:
Example
<?php
$txt = "W3Schools.com";
echo "I love $txt!";
?>
Run example »
The following example will produce the same output as the example above:
Example
<?php
$txt = "W3Schools.com";
echo "I love " . $txt . "!";
?>
Run example »
Example
<?php
$x = 5;
$y = 4;
echo $x + $y;
?>
PHP is a Loosely Typed Language
In the example above, notice that we did not have to tell PHP which data
type the variable is.
PHP automatically converts the variable to the correct data type, depending
on its value.
In other languages such as C, C++, and Java, the programmer must declare
the name and type of the variable before using it.
The scope of a variable is the part of the script where the variable can be
referenced/used.
local
global
static
Thursday, Oct.11
*CRUD (Create, Read, Update, Delete)
- PHPMYADMIN
http://localhost/phpmyadmin/
http://169.254.50.67:8080/sql/www.w3schools.com/sql/index.html