post -> input

This commit is contained in:
Samuel Georges 2016-08-28 13:24:04 +10:00
parent a55447edbd
commit 97e23e5c12
2 changed files with 6 additions and 6 deletions

View File

@ -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 '+' :

View File

@ -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 '+' :