[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6616] Property: temporary test
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6616] Property: temporary test |
Date: |
Thu, 18 Nov 2010 09:01:23 +0000 |
Revision: 6616
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6616
Author: sigurdne
Date: 2010-11-18 09:01:21 +0000 (Thu, 18 Nov 2010)
Log Message:
-----------
Property: temporary test
Added Paths:
-----------
trunk/property/test_form.php
Added: trunk/property/test_form.php
===================================================================
--- trunk/property/test_form.php (rev 0)
+++ trunk/property/test_form.php 2010-11-18 09:01:21 UTC (rev 6616)
@@ -0,0 +1,43 @@
+<?php
+
+ $antall = 2000;
+ echo "forventet: {$antall}</br>";
+ if(isset($_POST) && $_POST)
+ {
+ echo 'totalt: ' . count($_POST['values']) . '</br>';
+
+ echo '<pre>';
+ print_r($_POST);
+ echo '</pre>';
+ }
+
+ $html = <<<HTML
+ <html>
+ <body>
+ <form method="post" action="">
+ <table>
+ <tr>
+ <td>
+ <input type="submit" value="send" />
+ </td>
+ </tr>
+HTML;
+
+
+ for ($i=0;$i<$antall;$i++)
+ {
+ $html .= <<<HTML
+ <tr>
+ <td align="left"><input type="checkbox" name="values[]"
value="1" checked="checked"></td>
+ </tr>
+HTML;
+ }
+
+ $html .= <<<HTML
+ </table>
+ </form>
+ </body>
+ </html>
+HTML;
+ echo $html;
+?>
Property changes on: trunk/property/test_form.php
___________________________________________________________________
Added: svn:keywords
+ Id Revision
Added: svn:eol-style
+ native
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6616] Property: temporary test,
Sigurd Nes <=