-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbig_table.php
More file actions
76 lines (75 loc) · 1.79 KB
/
big_table.php
File metadata and controls
76 lines (75 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
echo "<form action='?action=new' method='post'><table style='position:absolute;top:0px;background-color:grey;left:500px;'>";
foreach ($q as $aq)
{
$obj1=str_replace(" ","_",$aq['obj1']);
$obj2=str_replace(" ","_",$aq['obj2']);
$obj3=str_replace(" ","_",$aq['obj3']);
$obj1=fix_reserved($obj1);
$obj3=fix_reserved($obj3);
echo "<tr>";
echo "<td>";
echo "<input type='text' value=\"".str_replace("\"",""",$obj1)."\">";
echo "</td>";
echo "<td>";
echo "<input type='text' value=\"".str_replace("\"",""",$obj2)."\">";
echo "</td>";
echo "<td>";
echo "<input type='text' value=\"".str_replace("\"",""",$obj3)."\">";
echo "</td>";
echo "</tr>";
}
for ($i=0;$i<10;$i++)
{
echo "<tr>";
echo "<td>";
echo "<input type='text' name='$i"."_obj1'/>";
echo "</td>";
echo "<td>";
echo "<input type='text' name='$i"."_obj2'/>";
echo "</td>";
echo "<td>";
echo "<input type='text' name='$i"."_obj3'/>";
echo "</td>";
echo "</tr>";
}
echo "<tr><td colspan='3' align='right'><input type='submit'/></td></tr>";
echo "<tr><td colspan='3'>";
echo "<b>";
echo "Suggested Relational Operators:";
echo "</b>";
echo "<br/>";
echo "<br/>";
echo "</td></tr>";
echo "<tr><td></td><td>";
echo "has<br/>";
echo "have<br/>";
echo "plural of<br/>";
echo "instance of<br/>";
echo "selected from<br/>";
echo "new<br/>";
echo "is a kind of<br/>";
echo "</td></tr>";
echo "<tr><td colspan='3'>";
echo "<br/>";
echo "<br/>";
echo "<b>";
echo "PHP Class Definitions:";
echo "</b>";
echo "<br/>";
echo "<textarea rows='10' style='width:100%;'>";
echo $cc;
echo "</textarea>";
echo "</td></tr>";
echo "<tr><td colspan='3'>";
echo "<br/>";
echo "<br/>";
echo "<b>";
echo ".NET Class Definitions:";
echo "</b>";
echo "<br/>";
echo "<textarea rows='10' style='width:100%;'>";
echo $nc;
echo "</textarea>";
echo "</td></tr>";
echo "</table></form>";