My a.php page is the Edit content page, which is an ordinary edit, then submits the content to the database page, the approximate structure is as follows
。。。
$sql = "Update ' usercontents ' Set ....
。。。
I want to implement this function, when
Do not know where this question should be asked, borrow treasure to ask for a moment.
Just see an example, there are three groups of characters as follows:
Z
Zo
Zoo
Why zo* can match Z? Zo+ can only match Zo,zoo.
is zo* equal to z{1}o*?
Beginners
The final result I want is to use JS to output this
But now four arrays have been output, that is, do not know how to close together, please help the master.
The following results are output separately:
Reply to discussion
In a bunch of HTML-tagged article $content, I want to filter out this piece of code:
But I have not learned the regular expression, asks the regular altar friend to help.
Reply to discussion (solution)
What are the criteria for
Example #1 generate a new Zval container
$a = "new string";?>
In the example above, the new variable A is generated in the current scope. and a variable container of type string and a value of new string is generated. In the additional
This is two pages below is 1.php commit after jump to 2.php then jump to 1.php I use 360 browser submitted after the direct display page does not exist what is going on? There's nothing in the database, I'm a newbie, I might have a lot of mistakes,
Dear God, I would like to achieve click on a cell, the contents of the cell and the assignment of the other variable is changed, I wrote, it seems not possible, why? Thank you!
$txt = ' no '; $m = 17;
echo "
". $txt."
";
Reply to discussion (solution)
Both ends of the code, a section for mobile phones, a section can only be used for PC. I want to use PHP code to judge the other's device, and then write the player code.
Try to parse user_agent.
Try to parse user_
Want to show echo to the specified location
Reply to discussion (solution)
Quotation marks are required when the content of ECHO is HTML code
Quotation marks are required when the content of ECHO is HTML code
Hint
"Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
PHP_ Address Book Browser
Address Book Browser
Reply to discussion (solution)
Request Great God Test Guide! Thank you!
$query = "Select
Website is thinkphp framework
My HTML code
Then there is a encapsulated indexcontroller.class.php file, the invocation content is;
Public Function Zckq () { M (' Aconfig ')->where (Array (' ID ' = 1))->save (Array (' zcoff '
1. Use the Array_unique method to remove the weight
To de-weigh the elements of an array, we generally use the Array_unique method, which can be used to weigh the elements in the arrays.
123456
Output:
Array ( [0] = 1 [1] = 2 [2] = 3
Do a similar effect on the home page can show all the posts to click on a post to jump to the topic of the topic is through the $_get[' title '; users click on the title of the page from the database to query this post author of the content code as
Course design is to write high-speed tickets
The function I want to implement now is: Administrator, modify a train information that has been entered into the data table
File 1:manage_change_input.php
Part:
$trains =$_get["Trains"];
$origin
When the content of the article, in order to facilitate reading and page display we generally display the content page. In general, paging is a static file that generates multiple pages of content when an article is published in the background. In
$_server stores current server information, with several values such as $_server["Query_string"],$_server["Request_uri"],$_server["Script_name" and $_server[" Php_self "] often easy to confuse, the following through the example of the $_server
Don't let it show all pages will always show only 5 pages or 10 pages just like in the picture. How should I change this code?
function Fenye () {
Global $page, $pagenum;
echo "";
echo "
";
Echo '
'. $page. ' /'. $pagenum. ' Page |';
Shopping site sometimes need to understand the user's recent needs, the collection and push the user's view record becomes the most of this kind of website indispensable function, below is I in the development project own writing method, one to save,
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