test runner: a test for load() with a hash of data, and another for load() with a string of data (#1516).
It includes a php that dumps all the GET and POST vars to html elements, where the key makes the id, and the value the text.
This commit is contained in:
parent
7ec772374d
commit
c6e88b16e9
2 changed files with 36 additions and 0 deletions
12
test/data/params_html.php
Normal file
12
test/data/params_html.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<div id="post">
|
||||
<?php
|
||||
foreach( $_POST as $key=>$value )
|
||||
echo "<b id='$key'>$value</b>";
|
||||
?>
|
||||
</div>
|
||||
<div id="get">
|
||||
<?php
|
||||
foreach( $_GET as $key=>$value )
|
||||
echo "<b id='$key'>$value</b>";
|
||||
?>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue