Trouble each way PHP expert answer! How to solve it

Trouble each way PHP expert answer! $serverLink = @mysql_connect ("localhost", "root", "") or Die ("Connection Server failed! Program interrupted execution! "); mysql_query ("Set names ' GBK '"); $dbLink = @mysql_select_db ("Student", $serverLink)

Loop don't know cause end

Help loop don't know why the end PHP Code $ss = Array (); foreach ($data [0] as $key = + $val) {Preg_match ('/(. *) /isu ', $val, $title); Preg_match ('/ (. *) /isu ', $val, $tuanPrice); Preg_match ('/ original Price: (

A regular expression that matches various URLs

Ask for a regular expression that matches various URLs There are about three types of matches to be matched. 1.http://www.aa.com/inx.php probably did. 2.http://localhost:80/inx.php probably did. 3.http://127.0.0.1:80/inx.php probably did.

PHP does not plug in data solutions into Oracle

PHP does not plug in data into Oracle $query = Oci_parse ($olink, $STRSQL); $oresult =oci_execute ($query); database connection was successful; $STRSQL success in Oracle execution; can be executed in PHP is not possible, please advise,

PHP novice puzzled to solve the idea

PHP Novice Confused I've learned. NET and Java before At present, I looked at PHP to find PHP compared to the top two like the package is not good, it feels like ASP Look at the PHP instructions above that PHP also has an object-oriented design

Questions about PHP Shmop_open

Problems with PHP Shmop_open PHP Code I implement the functions of application objects in ASP in PHP The problem is that the application ("a", "1") is executed in the same HTTP request, then application ("a") returns 1,

Asking Zendframework how to learn

Ask Zendframework how to learn. I object-oriented level is not how Ah, the University of the point of C + +, but when the exam I still use a process-oriented approach to solve the problem of the exam. Now the company wants me to learn zendframework

No input file specified This How to solve, hope everybody pointing out

No input file specified This How to solve, hope everybody pointing Using thinkphp to do the project, the local run everything is correct, the local input mode is http://localhost/project name/admin.php/user/index, Upload to Server, enter by: URL

Questions about the PHP include

Questions about PHP include Include ("ask_ftp.php"); Normal. Include ("http://www.xxx.com/ask_ftp.php"); It's not normal. Don't know how to get PHP files remotely ask for help ------Solution-------------------- This involves security issues, so

On the problems of RBAC in thinkphp

The problem of RBAC in thinkphp The problem of RBAC in thinkphp The contents of the Think_role_user table are role_id user_id 1 1 2 2 Each user group I also gave access to the permission, but the problem occurred my ID is not 1 and 2 users can also

What to do if you upload garbage when you publish content

What is the appropriate way to dispose of the garbage that was uploaded when the content was posted? We publish content, through the editor upload pictures and other files, midway may find the wrong, or temporary things, the content is not submitted,

PHP works, how to solve

PHP Works When looking for a job, each company is required to have their own work, I want to know what their work is, is to do their own projects, their work is so important? ------Solution-------------------- Well, look at your project experience

Undefined variable! How to solve it

Undefined variable! Source! function Opendb ($SQL) { $link = mysql_connect ($server _db, $user _db, $password _db) or Die ("Could Not Connect:". Mysql_error ()); mysql_select_db ($database _db, $link); $result = mysql_query ($SQL); return $result;

text box array summation related issues

text box Array summation problem HI, guys, big. I have this problem here, I have a text box array in PHP for ($i =1; $i { echo " "; } What can I do to make a total (sum) of what I enter in each text box and show it? ------Solution------------------

MY.CNF files, port ports? (urgent) Solution

MY.CNF files, port ports?? Tokyu [Mysqld] Datadir=/var/lib/mysql Socket=/var/lib/mysql/mysql.sock User=mysql # Disabling Symbolic-links is recommended to prevent assorted security

PHP gets remote content, can only establish a single connection, multiple use. Workaround

PHP gets remote content, can only establish a single connection, multiple use. For example: $ch = Curl_init (); $timeout = 30; curl_setopt ($ch, Curlopt_url, $url); curl_setopt ($ch, Curlopt_returntransfer, 1); curl_setopt ($ch,

About failed to open Stream:no error exception

Errors about failed to open Stream:no error The recent development of a simple thing with a cakephp framework is already available in the company, but there is always a lot of warning like this on your computer: Splfileinfo::openfile

Ask $_server[' http_user_agent ' can find Baidu spider

Ask $_server[' http_user_agent ' can find Baidu spider? I made a website want to statistics Baidu Spider's visit situation, this variable can find spider? What if there is no way to use it? ------Solution-------------------- OK if (Strpos

Proficient in NoSQL come in and see what's the best solution for this situation? What to do with it

Proficient in NoSQL come in and see what's the best solution for this situation?? Site A's database has a very simple table xx, field: ID: Self-increment Key: The value is the only character Value: values are arbitrary strings Website B needs to

How PHP determines that the access rights for member functions are public

How PHP determines that the access rights for member functions are public Class test{ Public Function aaa () { Echo ' Aaat '; } protected function bbb () { Echo ' BBB '; } Private Function CCC () { Echo ' CCC '; } } How to tell if the test class

Total Pages: 5208 1 .... 3932 3933 3934 3935 3936 .... 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.