Three days learning PHP (with ASP Programming Foundation)

Source: Internet
Author: User

The author of this article: Longlongago Blog address: http://blog.111cn.net/longlongago2000

During the winter vacation with ASP did a write Bo program, later wanted to use PHP to achieve, so on the internet to find the php+mysql installed, I found is the installation of automatic configuration (phpstudyadmin), very convenient, installed can be used, do not have to carry out complex configuration (heard configuration is very complex, I've never tried it before).

Start learning PHP, I know to use the example to learn PHP to get the fastest speed, think I used to learn ASP is to do a simple login verification, do up the idea of the same as the ASP, is the form of sending and receiving, precisely these two simple actions in later programming in the most used, can say that learn these two actions you begin to start. The code I wrote is as follows:

Login: test1.php

<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title><? echo "dskdfj|". +++++++++++ ";?></title>

<body>

<form method= "POST" action= "test2.php" >
<table width= "border=" 1 ">
<tr>
<TD width= ">&nbsp;</td>"
<TD width= "><input" type= "text" name= "Text1"/></td>
<TD width= "8" >&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type= "text" name= "Text2"/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><label>
<input type= "Submit" name= "Submission" value= "submitted"/>
</label>
<input type= "Reset"

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.