I want to use a thinkphp stepless classification method to upload strings to the template.

I want to use a thinkphp stepless classification method to upload strings to the template. Public function _ getMenu ($ id = 0, $ t = 0) {$ category = M ("category "); $ data = $ category-> where ("pid = $ id")-> order ("sort asc")-> select (); if ($

Phpsession_id constantly changing

Phpsession_id is changing constantly. why is the session_id on my page constantly changing? it is not fixed. I change it every time I refresh it. This should be fixed. What is the problem? Reply to discussion (solution) Does the browser support

How can I create an Android client to access my own PHP page?

How can I use an Android client to access my own PHP page? I want to write an Android client and run it on my computer using a simulator, you can access the php page that runs on the same computer. how can this problem be achieved. Reply to

How does PHP automatically send GET requests?

How does PHP automatically send GET requests? How does PHP automatically send GET requests?Connection?> Php file. In the code above, how does one automatically click "connect" in the page and jump to the page when the page is opened.

Write COM components for dynamic web pages such as ASP and PHP

The COM component has powerful functions for dynamic web pages such as ASP and PHP, but COM makes it even more powerful. In fact, we usually use ADO, FSO, Jmail, and so on, that is, COM. With the help of COM, the WEB can call almost all functions of

Could you please refer to this code and upload the image successfully, but you cannot find the image?

Could you please refer to this code and upload the image successfully, but you cannot find the image? Test the input 0){ echo 'Error:'.$_FILES['picture']['error'].'';

Code compression problems

I want to use online tools to compress JavaScript and css code. But you don't have: 1. delete the compressed file 2. change the source code file name to the official file name. 3. modify the code 4. change the source code file name back. 5.

Ask a question about passing a checkbox value to the next page

For example, on the first page, I will query the beautiful mm name from the database and display it as a checkbox. The code is as follows: Echo ""; Then I plan to select three of them for my appointment. I will hook the checkbox in front of my

Pdo transaction rollback

Pdo transaction rollback problem try { $ Dsn = "mysql: host = localhost; dbname = dadao; port: 3366 "; $ Pdo = new PDO ($ dsn, "root ",""); $ Pdo-> setAttribute (PDO: ATTR_ERRMODE, PDO: ERRMODE_EXCEPTION ); $ Pdo-> begintransaction (); $ SQL =

A question about COOKIE

A second-level domain name a.c.com and B .c.com If I request B. php from a.c.com in A. php and POST from B .c.com in A. php, set the COOKIE in B. php. In this way, does the COOKIE exist on the server? Instead of on the client I requested? How

Simple MVC framework for PHP extension implementation

PHP extension implementation simple MVC framework almost all WEB projects in the company's projects use the codeigniter framework. in order to reduce the time for a single PHP execution request and reduce the server processing response time, At the

In php, what is the array p?

In php, what is the array p? In php, what is the array p? $ G = array (); Foreach ($ re as $ key => $ val) { $ G [] = new class_a ($ val ); } P [] indicates the current array pointer? Reply to discussion (solution) The manual

Php interview questions-BASIC program Questions-php Tutorial

Php interview questions-BASIC program Questions Print the time format of the previous day in PHP: 22:21:21 date('Y-m-d H:i:s', strtotime('-1 day')); How to implement string flip? Method 1: Method 2: Write a function to traverse all

Php interview questions-comprehensive technical questions

Php interview questions-comprehensive technical questions Write more than 15 common linux commands you know and their functions. No answer Have you used the Vim editor? If you use the function, how to split multiple visual windows in vim,

Asking for a question

I want to embed a php if statement in the body to determine the value of session [u_id]. when the value is different, the output content is different, in addition, I want to control the output format and require them to all be in the same place. I

How to implement query and paging together-php Tutorial

How can we achieve both query and paging together? I don't know how to combine them. The code is as follows: $page=isset($_GET['page'])?$_GET['page']:1; $pagesize=20; $sql="SELECT count(*) from

Php newcomers seek high praise for the design page-php Tutorial

The new php guy asks someone to give the design page. I don't know why the pictures won't be uploaded. you have to go to my space album for a fee. I uploaded the page to the Space album. The page is divided into three parts, Above: insert an image;

The first time I went to the portal website to ask for the guidance of great gods, I don't know if this forum is correct.

I did not know how to send this forum for the first portal website. I used the dz framework to build a forum on the server, but required a complete portal website. This requires integrating the website with the forum. the second is to create a

How to view data that is not successfully inserted into a CSV database-php Tutorial

How can I check if no data is successfully inserted into a CSV database and insert data into the database when reading a csv file? how can I check if no data is inserted successfully? My PHP code is like this. Reply to discussion

When PHP5.5 is configured for apache, an error is reported when the service is started.

After apache is configured with PHP5.5, an error is reported when the service is started. please help me configure the php development environment for the first time. The error is reported when this row of data is configured. LoadModule php5_module

Total Pages: 12780 1 .... 10353 10354 10355 10356 10357 .... 12780 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.