PHP has no way to submit data to the database

PHP database MySQL Include ("connection.php"); if (Isset ($_post["sub"])) {$title =$_post[' title ';$con =$_post[' con '];$sql = "INSERT INTO ' news ' (' IDs ', ' title ', ' dates ', ' contents ') VALUES (null, ' $title ', now (), ' $con

Webpage Information Crawl problem (continued), Trouble Xu version to see

Original address: http://bbs.csdn.net/topics/390595542 4# If the full page information is: Array (...). [Sheet] = = Part information parts list [+] = [[+] = [[+]] = [[+] = [ [+] = [[[]] [[[]] = [[+]] [[+] = number of packages [+] = number of

-------How to use-WeChat development mode, reply to a piece of article

Public platform Reply article I use PHP development of the public platform backstage, has been able to automatically reply to the user-illustrated content. Similar to such a Now I want to realize when the user clicks on the point pointed in the

Request an SQL statement

MySQL condition calculation Table A, field Ax,ay,azTable B, Field BX,BY,BZ $time = time (), select *, (A.AZ*7+B.BZ) as exp WHERE exp Like this by calculating a temporary column exp, and then to determine whether the value of exp is less than a

Undefined variable output appears hint: notice:undefined variable:str in

function call () { for ($i =0; $i { $str. = $i. " "; } return $str; } echo Call (); Output in notice:undefined variable hint Reply to discussion (solution) notice:undefined variableIs that you used the value of an unassigned variable.In your

Execute two databases at a time

At the same time execute two server inside two database, this execution statement how to write? Thank you! Reply to discussion (solution) Just give the strap a prefix. The first step: connect to the database, but do not connect to the specific

Questions about sorting the PHP array?

$arr = Array (' Medium ', ' fall ', ' knots ', ' fast ', ' le ') I want to achieve the above in this array of items (happy Mid-Autumn Festival) before and after the order unchanged, you can add or subtract all sorts: Happy Mid-Autumn

Jquery.getjson () session inconsistency problem

Hello everyone, I am a novice php, recently made a website, I use the following code asynchronous request to register.php, but register.php and login.php print out the SessionID is inconsistent, have encountered this problem before, Is the jquery

How does NetBeans add fonts?

NetBeans fonts , a total of five fonts, want to add one more. Reply to discussion (solution) Landlord can refer to the next HTTP://HI.BAIDU.COM/I7521/ITEM/6593A01FB27349F864EABF1B Landlord can refer to the next http://hi.baidu.com/i7521/item/659

Yii receiving form issues

yii

How did this $_post[' LoginForm ' come from? is loginform the name of the form form? Reply to discussion (solution) is a value in the post No, my front page doesn't define this loginform name. You do not have to define it, the YII framework

Or about the sort of PHP array? 】

Really embarrassed, should be I describe the problem, moderator didn't see haha I also stumbled knot paste. http://bbs.csdn.net/topics/390595473?page=1#post-395606907 $arr = Array (' Medium ', ' fall ', ' knots ', ' fast ', ' le ') Actually I

About the PHP optimization speed problem, the file cache, the impact will be large?

Cache optimized PHP Data Due to limited conditions, there is no memcache, but many places such as "regional information, various tree classification, global menu link" and so on information, directly from the database, it is really too slow, and a

WordPress Home Page cannot be accessed after moving

Wordpress After moving the other pages can be normal access, only the home page is notMay I ask what is the reason for this? Reply to discussion (solution) Home cannot be accessed?So how did you get in on the other pages? Report 403 Error 403

Kohana Routing problems

If my route is set to this: Route::set (' sections ', ' (/(/ )) ', Array ( ' directory ' = = ') (admin|affiliate) ') ->defaults (Array ( ' controller ' = ' = ' index ', ' action ' = '

Both the page and the database are UTF8 and garbled.

Page set up Utf8,mysql also, the database in Chinese or garbled Reply to discussion (solution) In the PHP programHeader (' content-type:text/html; Charset=utf-8 '); has been setmysql_query ("SET NAMES ' UTF8 '");mysql_query ("Set character set '

How PHP verifies that the input card is valid

PHP, code, verification, bank card PHP How to verify that the input card is valid, I am now doing a lost property entry, input bank card, I want to verify that the card is valid, as if it is an identity card, can verify that the string of characters

How can PHP achieve a one-stop mail landing?

The internal site already has the user data, originally can also be able to do an internal "mail" system, but considering the possible later communication with the external network, still want to support SMTP and POP3 But can PHP's mail server

How to traverse a two-dimensional array in Foeeach and use. = Add values to a variable

This post was last edited by xianglei1130 on 2013-09-23 17:14:40 foreach ($posts as $k = + $p) {$items. = $p [' Pro_name '], $p [' discription '], $p [' Picurl '], $p [' Url '];} This is using foreach to iterate through a two-dimensional array,

Prawn, please help me optimize this SQL statement

SQL optimized MySQL PHP Prawn, please help me optimize this SQL statement $sql = "UPDATE". $table. " ' SET $field = concat (' ". $value [' result ']." {HX} ', now (), ' {HX} '. $value [' name ']. " {HX} '. $value [' op ']. " {HX} '. $value ['

GD garbled, old serious!!!!

garbled Sogou browser php im Only the above a few lines of code, not the Tao why in Sogou browser, high-speed mode is garbled, compatible under not garbled, ask everyone help!!! Reply to discussion (solution) Did not use Sogou browser,

Total Pages: 5208 1 .... 4918 4919 4920 4921 4922 .... 5208 Go to: GO

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.