,
Intro varchar (255),
Resufile Longblob,
PRIMARY KEY (ID),
KEY ID (ID)
);
Place it under my executable directory/usr/local/mysql/bin and execute the following command:
./mysql-u Root-p〈resume.sql
Enter Password:
After entering the database password, the table resume is automatically created successfully. Where the Resufile field is a Longbolb type, used to store binary Word documents.
2. Database access Process
PHP access to the database t
.
Create a text file Resume. SQL with the following content:
Use ResumeDB;
Create table Resume (
ID tinyint (4) not null auto_increment,
Name varchar (10) not null,
Intro varchar (255 ),
ResuFile longblob,
Primary key (ID ),
Key id (ID)
);
Put it in My executable directory/usr/local/mysql/bin and execute the following command:
./Mysql-u root-p
Enter password:
After you enter the database password, the table Resume is automatically create
The jQuery element selector and attribute selector allow you to select HTML elements by Tag Name, attribute name, or content.
JQuery element selector:JQuery uses the CSS selector to select HTML elements.
$ ("P") Select the
$ ("P. intro") select all
$ ("P # demo") Select the first
JQuery attribute selector:JQuery uses an XPath expression to select an element with a given attribute.
$ ("[Href]") selects all elements with the href attribute.
$ ("[Href
JQuery Select Element Selectionjquery SelectorID selector (js generally try to use the ID selector, the most Efficient)$ ("#id"). HTML ();Class Selector$ (". className"). Text ();Tag Selector$ (' P '). "click ()Property Selector$ ("li[id]"), $ ("li[id= ' link"). fadeIn ();Hierarchy Selector$ ("li. link"). Show ();Parent-child Selector$ ("ul > Li")Pseudo class Selector$ ("p:first")$ ("ul Li:eq (3)")Form Selector$ (": Text")$ (": Checkbox")$ (": Checked")Selector Rollup* $ ("*") all elements#id $
(Author: Wang Kaibo) using PHP to save files to the database database is the center of data organization and storage. It is also possible to process a variety of data, including programs, files, reports, and even audio and video data. As a result of the browser, individual users can only fill in a small portion of their CV. Therefore, here we demonstrate the user's resume upload function. Other types of data can be manipulated by mimicking this example. The first is the information collection
(ID tinyint (4) NOT NULL auto_increment, Name varchar (TEN) NOT NULL, Intro varchar (255), Re Sufile Longblob, PRIMARY key (ID), key ID (ID)); Place it under my executable directory/usr/local/mysql/bin and execute the following command:./mysql-u root-p〈resume.sql Enter password: After entering the database password, the table Resume is automatically created successfully. Among them, the Resufile field is the Longbolb type, used to store the binar
(
ID tinyint (4) not NULL auto_increment,
Name varchar (ten) is not NULL,
Intro varchar (255),
Resufile Longblob,
PRIMARY KEY (ID),
KEY ID (ID)
);
Place it under the My executable directory/usr/local/mysql/bin, and execute the following command:
./mysql-u Root-p〈resume.sql
Enter Password:
After entering the database password, the table resume is automatically created successfully. Among them, the Resufile field is the Longbolb type, used t
elements. The key point is to learn how the jQuery selector accurately selects the elements you want to apply. The jQuery element selector and attribute selector allow you to select HTML elements by Tag Name, attribute name, or content. The selector allows you to operate on HTML element groups or individual elements. In html dom terminology, selector allows you to operate a DOM element group or a single DOM node.
JQuery uses the CSS selector to select HTML elements.
$ ("P") Select the
$ ("
Jquery attribute selector (matching elements with specified attributes) and jquery Selector
JQuery Selector
In the previous section, we showed some examples about how to select HTML elements.
The key point is to learn how the jQuery selector accurately selects the elements you want to apply.
The jQuery element selector and attribute selector allow you to select HTML elements by Tag Name, attribute name, or content.
The selector allows you to operate on HTML element groups or individual elements.
, use the callback function.$ ("P"). Hide (1000,function () {Alert ("The paragraph is now hidden");});JQuery provides a rich library of functions (methods) for AJAX development.With JQuery AJAX, you can request TXT, HTML, XML, or JSON from a remote server using HTTP Get and HTTP Post.1. Various uses of jquery selector$ (This) current element$ ("P") all
Elements$ ("input") all input elements$ (". Intro") All Elements of class= "
I. Common functions1, this point in the definition of the function is not OK, only the function of the execution of the time to determine who is this point;In fact the end point of this is the object that called it.11)functionA () {2 varname = ' Xiaoming '3Console.log ( This)//window4Console.log ( This. Name)//undefined5 }6 7 WINDOW.A ()8 92)varb = {TenName: ' Xiaoming ', OneLikefunction() { AConsole.log ( This)//b - } - } the b.like () - -3)varc = { -Nam
tinyint (4) not NULL auto_increment,
Name varchar (ten) is not NULL,
Intro varchar (255),
Resufile Longblob,
PRIMARY KEY (ID),
KEY ID (ID)
);
Place it under my executable directory/usr/local/mysql/bin and execute the following command:
./mysql-u Root-p〈resume.sql
Enter Password:
After entering the database password, the table resume is automatically created successfully. Where the Resufile field is a Longbolb type, used to store binary Word
Transferred from: http://www.oracle.com/technetwork/cn/articles/hartley-recursive-086819-zhs.htmlRecursive database processing, also known as BOM or part decomposition , applies to a wide range of applications, including human resources, manufacturing, financial markets and education. The data involved in such processing is called tree structure data or hierarchical data. Oracle databases have long supported recursion through specialized syntax (CONNECT by clauses). Oracle Database, version 2nd
Source: http://www.cnblogs.com/A_ming/archive/2011/05/04/2036293.html
Jquery syntax Basics
Basic Syntax:
$ ("HTML element"). Action ()
Instance:$ (This). Hide (); hide the current element$ ("P"). Hide (); hide all paragraphs$ ("P. test"). Hide (); hide all paragraphs of class = "test"$ ("# Test"). Hide (); hide all Id = "test" Elements
Document-ready Functions
$ (Document). Ready (function (){
--------});
This is to prevent the document from running jquery code before it is fully loaded (ready.
run the following statement on the command line to create a database:
./Mysqladmin-u root-p create ResumeDB
Enter password:
Enter the password after the prompt. If the database is used for the first time and the default password is blank, press enter.
Create a table to save your resume.
Create a text file Resume. SQL with the following content:
Use ResumeDB;
Create table Resume (
ID tinyint (4) not null auto_increment,
Name varchar (10) not null,
Install
The jQuery library is a JavaScript file. You can use the HTML
If you do not want to download and store jQuery, you can also reference it through CDN (Content Delivery Network ).
Google CDN:
Microsoft CDN:
$("#test").hide()Demonstrate the jQuery hide () function to hide all
$("p").hide()Demonstrate the jQuery hide () function to hide all the elements of class = "test.
$(".test").hide()
$("p#demo")
$ ("[Href = '#']") select all elements with an href value equal.$ ("[Hr
use a simple talent information exchange center (see figure 1) as an example to program the online submission, browsing, and other features of my resume and describe the entire PHP database operation process. The database uses the most commonly used MySQL database.
PHP database operation stepsWe will create a database named resumedb on the local machine. The database contains a table named resume. The numbers, names, profiles, and word-format resumes are stored in the table.
1. Create a dat
Document directory
GET/set content-text (), html (), and val ()
The jQuery element selector and attribute selector allow you to select HTML elements by Tag Name, attribute name, or content.
JQuery element selector:JQuery uses the CSS selector to select HTML elements.
$ ("P") Select the
$ ("P. intro") select all
$ ("P # demo") Select the first
JQuery attribute selector:JQuery uses an XPath expression to select an element with a given attribut
a page like this:In the blade engine, we can output variables like this:body>h1>{{ $title }}h1>body>In fact, in the blade engine, it {{ $title }} will be parsed like this output , but the symbol here will be the {{ }} data output, such as you will $title write:public function index() { $title = ‘return view(‘articles.lists‘)->with(‘title‘,$title); }This time you use the {{ $title }} output, you will see something like this:If you want to $title render the output as a page element, you need to
NULL auto_increment,
Name varchar (ten) is not NULL,
Intro varchar (255),
Resufile Longblob,
PRIMARY KEY (ID),
KEY ID (ID)
);
Place it under the My executable directory/usr/local/mysql/bin, and execute the following command:
./mysql-u Root-p〈resume.sql
Enter Password:
After entering the database password, the table resume is automatically created successfully. Among them, the Resufile field is the Longbolb type, used to store the binary Word document
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.