Home > Backend Development > PHP Tutorial > PHP表单提交,结果显示的是处理表单页面的文件名?解决方案

PHP表单提交,结果显示的是处理表单页面的文件名?解决方案

WBOY
Release: 2016-06-13 10:01:42
Original
941 people have browsed it

PHP表单提交,结果显示的是处理表单页面的文件名?
这个是表单所在页面



figure   1.4



Your   Name:


Cost   of   a   Lunch:


Days   Buying   Lunch:







这个是处理页面,只定义了



$Today   =   date( "l   F   d,Y ");
?>


Today 's   Date:

print( "

$Today

");
print   ( "$YourName,your   will   be   out     ");
print   ($CostOfLunch*$DaysBuyingLunch);
print   ( "   dollars   this   wek.
\n ");
?>



但是我点击提交后,并没有解析文件内容,而是显示   “blank15.php”,15.php是我处理表单的文件名。

为什么会这样?

------解决方案--------------------
没有 接收参数

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template