Installation (based on CentOS)Yum-y Install mariadb mariadb-server # centos7 version #centos7 The following versionsStartService mysqld start # centos7 The following version Chkconfig mysqld on # set power on start orsystemctl start mariadb
PHP Markup in PHP?>The output statement in PHP is the EchoPHP Echo "php OUTPUT Statement! ";? >Here, we do not use PHP to achieve pure HTML does not implement the functionThe main reason to use the server-side scripting language is to be able to
Comment What is a comment?A note is a piece of code, a method, or a class that is written in the code so that you can read the code easily. The annotated content will not be compiled or executed .Java annotations are divided into three types: single-
Directory[1] Code identification [2] note [3] output [4] calculation expression [5] case
Previous words
PHP is a powerful server-side scripting language for creating dynamic, interactive sites. PHP can contain text, HTML, CSS, and PHP code,
[Introduction] PHP5 4 basic syntax Format 1, PHP separator 2, PHP comments and syntax identification (1), single-line comment from C + + comments from
1. PHP Separator
2. PHP comments and syntax identifiers
(1), single line comment//note from C +
OO: Object-oriented OoM: object-oriented approachCompiled language: After compiling, if the code is not changed, you can run the compiled file directly.Interpreted language: It needs to be recompiled (interpreted) each time it is run, and in terms
PHP Basic Learning Notes (12), PHP Basic Learning Notes
PHP Basic Syntax
PHP // This is PHP single -line Comment/ * This is a multiline comment * /// Each PHP statement ends with a semicolon--must be used! // PHP is a
Start and end tags?>Note Three ways to note: Multiple lines of comments cannot be nested within a multiline comment, but you can nest single-line comments or embed multiline comments in a single-line comment. /* Multiline Comment */Single-line
1. Constants and variablesConstants and variables take a name ( such as ' number ' or ' welcomemessage ') and A value of a specified type (such as the digit ' 10 ' or the string ' "Hello")
Associated . the value of a constant cannot be
Single-line Comment/* Multiline Comment *//**Document Comments (Note that the document comment differs from the previous multiline comment) a document comment can be associated with a specific program element such as a class function constant
Recently started to learn C + +, touch a small project, write a program to translate C language comments into C + + comments, this is also divided into a number of cases, the following I have to share the small program I do, in the C language
1. Automatic type conversionAutomatic type conversions, also known as implicit conversions, can convert an int variable to a float type.1 Public classConver {2 Public Static voidMain (string[] args) {3 4 byteMyByte = 127;5
Write the first Java program using MyEclipseThen right click on src to create Class/*** Package: Statement of Packages! * Represents the location of our current Java source files in the project! * Must be in the first line except for comments! * and
I. BASIC format
Indent inRecommended 4 spaces per level, can be set to the editor tab = 4 spaces, automatic conversion
SemicolonDo not omit the semicolon to prevent the ASI (auto-insert semicolon) error
Line widthEach line of code
Web Three-tier ArchitectureStructure Layer: HTML describes the structure of a page from a semantic perspectiveStyle layer: CSS from an aesthetic perspective, beautify the pageBehavioral Layers: JavaScript improves user experience from an
#!/usr/bin/python3#basic syntax and data types for Python#a row in Python3 has multiple statements, separated by semicolons (;)Print("AAA") ;Print("BBB")#basic Data types, removing long typesPrint(type (1))Print(type (1.0))Print(type ("Str"))#allow
Jsp:java Sever Page, a simplified servletMain technology JSP High Security, ASP. PHP Simple and efficient (lamp:linux+apache+mysql+php)---2-3 jsp page elements constitute a------------------------------------------------------------------------------
Personal Independent Blog Source:http://www.xbman.cn/Source:Http://www.xbman.cn/article/3Python is a kind of explanatory computer programming language. Using the indentation syntax, the feeling is a bit like a row version of the shell, it is
The first Java programHere's a simple Java program that will print the string Hello WorldCom.henancaiyun package, mainly used to solve the same name problem. Each class must be specified under a package.Package Com.henancaiyun;Import ClassAImport
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.