$data =array ();
$data [' A ']=in ($_post[' a ']);
$data [' B ']=in ($_post[' B ');
$data [' C ']=in ($_post[' c]);
$data [' d ']=in ($_post[' d ']);
$data [' AA ']=in ($_post[' AA ');
$data [' A1 ']=in ($_post[' A1 ');
.................. omitted here
Model (' Xitong ')->update ("Id=1", $data);
The above is a normal update of the database PHP code
However, the current problem is that there are more than 50 fields in this table for your needs. And
PHP connection mysql problem novice!!!
This post was last edited by zuoan2008 on 2013-06-25 16:38:28
My login_action.php.
Include ('.. /config/config_db.php ');Include ('.. /class/db/class_db.php ');$username = $_post["username"];$password =$_post["Password"]; echo "Username:". $username. " --"." Password: ". $password.""; echo "Db_host:". $db _host. " --"." Db_name: ". $db _name." --"." Db_pas
Novice Help, PHP loop problem
While in the code does not loop, only one row of results can be output.
There are Chinese words in the database, the operation will be error.
Ask for advice!
Header ("Content-type:text/xml;charset=utf-8");$conn = new COM ("ADODB. Connection ");$connstr = "Driver={microsoft Access DRIVER (*.mdb)}; Dbq= ". Realpath ("Syec_mtv.mdb");$conn->open ($CONNSTR);mysql_query ("Set name
PHP Novice Problem: First page Select all data, click on the condition after the condition select database data
You ask a question, I want to make a page, go in the first time load is all the database, and then click the menu, reload the original page, but pass a condition to the original query, load display filter by criteria data, how to do ah.
------to solve the idea----------------------
$where =
PHP Novice, ask a manual inside the example code problem
A little puzzled about the result of the last line, $assigned = $instance, this is not a copy, the two objects should be two identical but different address objects, after the copy of the assignment $instance->var = ' $assigned would have This value '; Why does it affect the $assigned??
------to solve the idea----------------------
The so-called val
PHP Novice, ask a wamp how to specify a database
I am a novice php, when asked to use Wamp, the integration of the default database is MySQL, but want to change to Oracle database, I modified the php.ini in the OCI before the semicolon removed. Then stop the Wampserver service and start the service, error warning:php s
Novice, Pat. ladies and gentlemen, let me take a look at the Html nbsp; Code: lt; html gt; lt; head gt; lt; body gt; lt; form nbsp; action = "sales_rep_m.ph novice, Pat. ladies and gentlemen, let's take a look at the problem with the php code.
Html Code:
[/Code]
PHP code:
SalesRepMainten
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.