PHP, Mysql practical training experience in doc format, friends who learn PHP can refer to it
PHP, Mysql training experience
1. Learning content: (specific content of practical training and learning)
(1) Classic cases
function dialog(){
var dialog= art.dialog
({
title: 'hello world!',
content: '<img src="1.jpg" width="510" height="339" />'
});
dialog.lock();
}
(2) Basic syntax of PHP
1. Introduction and application of operation types
From left to right, calculate multiplication and division first and then addition and subtraction. When encountering parentheses, calculate within the parentheses first
$a =2;
$b=7;
echo ++$a;
echo $b++;
2. Data type source code debugging
php and html interaction
Enter html:Echo "html tag statement" in Php
Enter php in Html:<?php echo $a ?>
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn