際際滷

際際滷Share a Scribd company logo
A TRAINING PRESENTATION ON:
PHP with MySql
Submitted by:
Pushkar Kaushik
Php ppt
SERVER
REQUEST
HTML
CSS
Javascript
SQL databases
.net
Can I have
a webpage,
please?
back-end recipe
SERVER
RESPONSE
thanks!
Client-side (front-end) coding includes HTML, CSS
and Javascript. This just means that our code will be
downloaded from the server and then compiled
entirely in the browser.
SERVER
page.html
.asp
SQL
etc
.net
BROWSER
style.css
script.js
STRUCTURE
HTML markup
Site planning
PRESENTATION
CSS
Imagery
BEHAVIOR
Javascript
Php ppt
Hyper Text
+
Markup Language
Php ppt
A markup language is a
set of markup tags.
The purpose of the tags is to
group and describe page content.
CSS
Cascading
+
Style Sheet
A stylesheet is a set of rules defining
how an html element will be presented
in the browser.
These rules are targeted to specific
elements in the html document.
The cascade part of CSS is a set ofrules
for resolving conflicts with multiple CSS
rules applied to the same elements.
 Cascaded stylesheet.
 Stylesheet language
 Formatting of an html document.
 Classes are made.
Linked (external) stylesheet
Embedded (internal) stylesheet
Inline (internal) Styles
low
importance
high
importance
A CSS rule consists of a set of style rules that are
interpreted by the browser and then applied to the
corresponding elements in the document.
Syntax:
H1{ color:red; /*Text-align:left;*/ }
Php ppt
Php ppt
Php ppt
Speeds development
Cross browser
Popularity
Tool Support
Php ppt
Php ppt
Php ppt
Php ppt
Php ppt
Php ppt
Php ppt
Php ppt
Php ppt
Php ppt
<?php
$servername = "localhost";
$username = "username";
$password = "password";
// Create connection
$conn = new mysqli($servername, $username, $password);
// Check connection
if ($conn->connect_error) {
echo "Connection failed ;
}
else{
echo "Connected successfully";
}
?>
Php ppt
Php ppt
Php ppt

More Related Content

Php ppt

Editor's Notes

  • #15: CSS is a language used to determine the formatting of an HTML document. Before we had CSS all of this information was encoded directly into the document. This was a mess. CSS fixed all that. Using separate style sheets for an entire site, leveraging semantic markup and identifiers like ids (for unique page elements) and classes (for multiple, like elements) a developer can apply styles across a whole site while updating a single (cacheable) file.