mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
post -> input
This commit is contained in:
parent
a55447edbd
commit
97e23e5c12
@ -5,9 +5,9 @@ layout = "default"
|
||||
<?php
|
||||
function onTest()
|
||||
{
|
||||
$value1 = post('value1');
|
||||
$value2 = post('value2');
|
||||
$operation = post('operation');
|
||||
$value1 = input('value1');
|
||||
$value2 = input('value2');
|
||||
$operation = input('operation');
|
||||
|
||||
switch ($operation) {
|
||||
case '+' :
|
||||
|
@ -44,9 +44,9 @@
|
||||
|
||||
<pre>function onTest()
|
||||
{
|
||||
$value1 = post('value1');
|
||||
$value2 = post('value2');
|
||||
$operation = post('operation');
|
||||
$value1 = input('value1');
|
||||
$value2 = input('value2');
|
||||
$operation = input('operation');
|
||||
|
||||
switch ($operation) {
|
||||
case '+' :
|
||||
|
Loading…
x
Reference in New Issue
Block a user