Seniors, help me see where the code is wrong.

When I do not enter a user name or password, why can not prompt the user name or password can not be empty??? User name or password cannot be empty if (Isset ($_post[' submit ') &&$_post[' submit ']== "login")

PHP HTML Rich Text encountered some word interception

/** * @author default7 * @description crop the HTML, when he encounters a piece of text * * @param $htmlContent * @param string $me ETSTR * * @return string */function cuthtmlwhenmeet ($htmlContent, $meetStr = ") { if

discuz! How do I implement a topic list page to display a post body summary? Non-preview feature.

The first 200 words of the corresponding subject are displayed as that. But there seems to be no "content" variable in the corresponding template file. Reply to discussion (solution) Focus on the red area of the code, should be useful to

Web site send a message automatically pushed to the micro-blog features how to achieve?

Website every update a piece of information, this information will automatically push to each micro-blog, like this function how to realize, see on the net only WordPress synchronizes to each mainstream website interface, hope can get each warrior's

Install Memcache extensions to PHP under Linux, not loaded on

is the Linux php 5.3.6 then memcache is 2.2.7, Installation without any error prompts Extension_dir also has memcache.so inside. The path to the php.ini is also But Php-m is not memcache. It's not going to restart Nginx or PHP-FPM. I don't

How PHP Gets the login user name for the current Windows system

Is there any way for PHP to get the login user name of the current Windows system? It is best to have verified the success of the code, previously found on the internet is the same piece of code, is said to be written by the French, some direct copy

: Different div layer effects displayed on the same page

HI Everyone, encounter a similar function, the same page has more than one button, you need to click on different buttons, below the different layers, how much of the button is based on the number of database information, the content below needs to

PHP MySQL Data manipulation issues

Seek the guidance of predecessors! , there are 2 data in the table, the first one is inserted in the phpMyAdmin, and the second one is inserted from the PHP page. Org_name varchar type open_time timestamp type The PHP code is as follows: Include_

Preg_replace_callback Replace Preg_replace

$tem = $arr [' Invoice_type ']; echo " ";Print_r ($tem);OutputA:2:{s:4: "Type"; A:3:{i:0;s:8: "Personal invoice"; I:1;s:8: "Enterprise Invoice"; i:2;s:0: "";} S:4: "Rate"; a:3:{i:0;d:6;i:1;d:6;i:2;d:0;}} $teem []= preg_replace ('!s: (\d+): "(. *?)";

Ask your teachers questions about PHP arrays

Teachers, beginners to PHP, some problems Baidu can not find, will come here to consult, but also hope that the teachers to forgive and help, thank you. The problem I'm having now is this: With a MySQL command, get a list and save the list to an

Win7 apache2.4+php5.5+thinkphp3.2 not open

For help, directory structure, such as when I opened the address to access http://localhost:8080/thinkphp_3.2.2_full/index.php, the prompt cannot display this page, add the module name and class name http://localhost : 8080/thinkphp_3.2.2_full/index.

PHP application-Baidu image of the anti-theft chain

As is known to all, a website if the picture traffic is occupied by the network bandwidth, so that the theft of pictures to prevent the link appears to be the most important. Here, briefly explain how Baidu to prevent the hotlinking of the principle

About two-dimensional arrays.

"Zs", "age" = "ten", "Sex" and "Nan", ("name" = "Zs", "age" = "ten", "sex" = "Nan"), ("Name" = " Zs "," age "=" ten "," Sex "and" Nan ", (" name "=" ls "," age "=" one "," sex "=" Nan "), (" name "=" ww ")

PHP Conversion Chinese encoding problem

A function is used: function Array_iconv ($in _charset, $out _charset, $arr) {//$in _charset represents the previous encoding,$out _charset represents the encoding to be converted,$ ARR represents the array to convert Return eval (' Return '.

Dede publishing Static page garbled problem

Dede is the GBK version. The template is also gb2312 After the static page is generated, the browser defaults to the UTF encoding, garbled, the browser encoding to GBK, the display is normal Just changed the server, the template is reversed, not

Encounter Ghost, simple database query, display unknown column ' titletest ' in ' Field list '

Data fields: ID (self-increment), title (varchar (50), content (Longtext) Code for $title = $_post[' title ']; (Value: titletest) $content =$_post[' content '; (value: Contenttest) $insert = "INSERT into article (title,content) VALUES (". $title. ',

Array conversion Merge

Array ([0] = = Array ([id] = 9 [Ti] = Me) [1] = = Array ([id] = [ti] + =) [2] = = Array ([ID] = = [Ti] = in) [3] = = Array ([id] = [ti] = country)) This translates into a one-dimensional array id as key, the conversion I would, but encountered the

Problems with php.ini in PHP

I configured the path of include_path in PHP.ini (Unix and Windows my win7 system is configured under Windows), when using include in PHP, the file under the configured path is said to be unable to find, or to use absolute path, Or put it in a

PHP two-dimensional array sorting array_multisort

For a 2-dimensional array or multi-dimensional array sorting is a common problem, in PHP we have a special multi-dimensional array sorting function, the following simple introduction: Array_multisort (array1,sorting order, sorting

PHP first basic class outing record: Alone Lele is not as many Lele

Recently, a couple of days of rain weather to the "Restless" City down the "fire", to the people who are bored to send a glimmer of cool. August 22, Preach Wisdom podcast Chengdu Campus PHP first basic class students organized an outdoor outing

Total Pages: 5208 1 .... 3292 3293 3294 3295 3296 .... 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.