Table Company
ID City Top
1 Beijing, Shanghai, China
2 Jinan, Shijiazhuang, Jinan
3 Beijing Beijing
Sorting rules:
1, search "Beijing" List of ' city ' in the "Beijing";
2, ' top ' has "Beijing's front";
3, ' id ' from large to small arrangement
There's a feature for uploading images
How do I control the size of my uploaded image below 200K at a time?
Can I change the size of my picture?
In fact, the image of the pixel and size and clarity and so on what is the link.
Reply to
I want the foreground Head.moban template to implement such a function, the following code:
{foreach from= "$sidegoodscatelist" item= "gclist" Name= "Gclist"}
&id={$gclist. ID} "title=" {$gclist. Name} "shopping=" Food ">{$gclist.
The use of Sphinx full-text search, when searching for the sort of problem, such as I search "12 Zodiac", out of the results have "12 Happy Street", "12 Zodiac Guardian God", "New 12 Zodiac", "12 Zodiac", "12 Zodiac Story", in fact, this is true,
$sql = "Select * from ' Links ' WHERE ' subdomain '! = '" ORDER by id desc LIMIT "; $rows = $db->getdata ($sql); foreach ($r oWS as $row) {echo ''. $row [' title ']. '';}
The first page of the article call I will write, but to pagination do not
How to replace the regular expression in PHP
The text is: "14 people were killed in a fire at a hotel in Xiangyang, Hubei province. The above content uses "the website Automatic transmitter V1.9" automatically publishes "
The beginning of the
I want to use Set_error_handler to collect errors uniformly, I used Ob_end_clean () before printing custom error prompts;
PS: I opened the gzip
Test code:
Error_reporting (E_all); Set_error_handler (Array (' Test ', ' Handle_error ')), if
Beg Master ~ For this subject I feel very headache, because not computer professional, to this aspect of research is very few, so learn a bit of difficulty, I hope that the great god of Php master to help me ah ~ ~ ~
Reply to discussion
I use mysqli, a breath need to insert 52 records, occasionally will miss a few did not insert success, now this table 3.4M, if the table is emptied, this will not happen?
Reply to discussion (solution)
Only 53 will leak??? What kind of code
MySQL "Insert Table name ..." Does the table name make the variable possible? How to achieve?
Reply to discussion (solution)
$tableName = ' member ';mysql_query ("INSERT into". $tableName. "VALUES ()");
$tableName = ' member ';mysql_query
PDO MySQL how to output 1th 4th article 7th data:
The following is the output of all data:
Query ($sql 1); while ($row = $rs, Fetch ()) { echo '. $row [id]. ';}?>
Reply to discussion (solution)
Query ($sql 1); $num = 0; while (
Prospect meaning of the "outlook, Future" version
Not yet finalized, the following functions will be added in succession,
Welcome, Experience: http://www.youyax.com/
Personal development works, limited time,
You can also contribute code,
Today, a thinkphp project is configured on Linux (CentOs). The path is wrong.
Apache Configuration:
Project structure:
Access Address:
When I add: Require './thinkphp/thinkphp.php ' in the entry text (index.php), give me a 404
"SELECT * from databases where ' name ' = ' My Name '"
When my name becomes i ' m xiao It goes wrong, how to solve it????
"SELECT * from databases where ' name ' = ' I ' m Xiao '"
Reply to discussion (solution)
1. "SELECT * from
check box, if I want to do the Group_concat () operation on the selected data, how do I do it?
Reply to discussion (solution)
$in =implode (', ', $_post[' id ')); Suppose the check box name is id[] $sql = "SELECT ID, group_concat (name)
I have two sheets.
Table A ID name class number
Table B class number class Chinese name
In PHP, I want to show this
Software classes
Dick and Harry .....
Painting class
Harry........
How to express in PHP, in addition, I am using the
The Ajax return value enters the ShowMsg function, and then alert (tips) out of the value returned by the function, but the total display of undefined, is not the question of return type, novice ask ~
function ShowMsg (MS)
{
var tips
Switch
The whole situation is this:
Table A structure
ID Name Info
1 column one (storage style: "Picid"; S:2: "A:{s:6"; S:9: "Text"; s:1: "Store content area";})
2 column two (storage style: "Picid"; S:2: "A:{s:6"; S:9: "Text"; s:1: "Store content area";})
Baidu on the search, there is no such a problem answer.
The homepage, List page, background can open normally, but the post page does not display content.
had been normal, and today suddenly can't see the content of the post.
Viewthread.htm Post
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