- #MATERI ALGORITMA PEMROGRAMAN HOW TO#
- #MATERI ALGORITMA PEMROGRAMAN SOFTWARE#
- #MATERI ALGORITMA PEMROGRAMAN CODE#
- #MATERI ALGORITMA PEMROGRAMAN PASSWORD#
The semicolon is a separator and is used to distinguish one set of instructions from another.
#MATERI ALGORITMA PEMROGRAMAN CODE#
Each code line in PHP must end with a semicolon. A PHP script can be placed anywhere in the document. PHP Syntax A PHP script always starts with.
#MATERI ALGORITMA PEMROGRAMAN HOW TO#
PHP File PHP code is not displayed when user view source from browser Save PHP File in directory XAMPP/htdocs/directory_name How to access PHP or HTML page in browser? example : Web Programming – HTML Form and Here comes your footer Introduction to PHP XAMPP Access XAMPP from browser Web Programming – HTML Form and Here comes your footer Introduction to PHP XAMPP Local Web Server Open Source Interpreter PHP script and MySQL database 2 type of MySQL : - MySQL - MySQL with web server XAMPP (PHPMyAdmin)
#MATERI ALGORITMA PEMROGRAMAN SOFTWARE#
Introduction to PHP PHP : Hypertext Preprocessor A server-side scripting language Scripts are executed on the server Supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) An open source software Specifies the visible number of lines in a text area Specifies the visible width of a text area The size of a text area is specified by the cols and rows attributes. HTML Form - Textarea A text area can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier). If you have a long list of options, groups of related options are easier to handle for a user. HTML Form – Option Group The is used to group related options in a drop-down list. A drop-down list allows multiple selections. HTML Form – Drop Down List Drop-down lists are a good method to deliver a large range of choices without taking a lot of screen space. Allows the user to browse to a file on their machine for submission to the web site. A hidden field often store a default value, or can have its value changed by a JavaScript. Define a hidden field (not visible to a user). a series of controls from which the user can select one choice. Define a submit button a button that sends the form data to the action.
#MATERI ALGORITMA PEMROGRAMAN PASSWORD#
Define a password field (characters are masked) Attribute Define a single-line text field that a user can enter text into Attribute HTML Form - Input Used to select user information Not require a closing tag for HTML An input field can vary in many ways, depending on the type attribute the tag requires a name, the name of the tag allows the programmer to work with the data from the control Attribute Method GET/POST GET Useful for form submissions where a user want to bookmark the result Display the form contents from the user Have a limit to how much data you can place in a URL (varies between browsers) Never use the "get" method to pass sensitive information! POST More robust and secure than GET Hide the form contents from the user Form submissions with the "post" method cannot be bookmarked Not have size limitations Web Programming – HTML Form and Here comes your footer Introduction to PHP Specifies where to send the formdata when a form is submitted Specifies the HTTP method to use when sending form-data Web Programming – HTML Form and Here comes your footer Introduction to PHPĭraws a box around the related elements defines a caption for the element Need web scripting server side for data processing Example : PHP, ASP, JSP, etc HTML Form Media for user to input data Allow the user to send data to web sites Example : registration, send messages, post comment, post video, etc. PEMROGRAMAN WEB 05 – HTML Form and Introduction to PHP