Table of Contents
find the reason
回复讨论(解决方案)
Home Backend Development PHP Tutorial html代码中包含php实现自己对自己的引用?

html代码中包含php实现自己对自己的引用?

Jun 23, 2016 pm 01:58 PM

nbsp;html>

        


        
        
                

find the reason


                                         if(!empty($_POST['submit']))
                        echo "It works ";
                ?>
                
">
                        
                        

                        
                

        

这段代码应该是实现当form表单被提交时,显示it works! 然而事实上却没有任何反映,我想知道哪里出了问题?


回复讨论(解决方案)

"  method="post">
你不指定post提交方式,默认就是get方式提交。

"  method="post">
你不指定post提交方式,默认就是get方式提交。
我说:这个马虎啊。。。。。
版主:顺带问一句我学php什么样才能算入门?就像编写出带验证何ajax登录验证?这样算么?什么时候该看框架?
自己自学,有些迷惑

多做项目,孰能生巧。

顺带问一句我学php什么样才能算入门?就像编写出带验证何ajax登录验证?这样算么?什么时候该看框架?
自己自学,有些迷惑
先别急着 先把基础打牢 看看视频看看手册

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

11 Best PHP URL Shortener Scripts (Free and Premium) 11 Best PHP URL Shortener Scripts (Free and Premium) Mar 03, 2025 am 10:49 AM

11 Best PHP URL Shortener Scripts (Free and Premium)

Working with Flash Session Data in Laravel Working with Flash Session Data in Laravel Mar 12, 2025 pm 05:08 PM

Working with Flash Session Data in Laravel

Introduction to the Instagram API Introduction to the Instagram API Mar 02, 2025 am 09:32 AM

Introduction to the Instagram API

Simplified HTTP Response Mocking in Laravel Tests Simplified HTTP Response Mocking in Laravel Tests Mar 12, 2025 pm 05:09 PM

Simplified HTTP Response Mocking in Laravel Tests

Build a React App With a Laravel Back End: Part 2, React Build a React App With a Laravel Back End: Part 2, React Mar 04, 2025 am 09:33 AM

Build a React App With a Laravel Back End: Part 2, React

cURL in PHP: How to Use the PHP cURL Extension in REST APIs cURL in PHP: How to Use the PHP cURL Extension in REST APIs Mar 14, 2025 am 11:42 AM

cURL in PHP: How to Use the PHP cURL Extension in REST APIs

12 Best PHP Chat Scripts on CodeCanyon 12 Best PHP Chat Scripts on CodeCanyon Mar 13, 2025 pm 12:08 PM

12 Best PHP Chat Scripts on CodeCanyon

Notifications in Laravel Notifications in Laravel Mar 04, 2025 am 09:22 AM

Notifications in Laravel

See all articles