login signup | whydoineedaccount?
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?
	class form {
	
		function form_open($action, $method)
		{
			return "<form action='$action' method='$method'>";
		}
		
		function form_close()
		{
			return "</form>";
		}
		
		function form_input($type, $name, $value, $more)
		{
			return "<input type'$type' name='$name' value='$value' $more />";
		}
	}
	$forma = new form;
	echo $forma->form_open('super', 'truper');
	echo $forma->form_input('text', 'login', 'tutaj login', 'id="siema"');
	echo $forma->form_close();
?>
back to top ↑

Did you know, that…?

wklej.org it's a NoPaste site, which allows you to paste here any text, or source code, which will be available under special URL. Thanks to this, you can make forums or IRC channels more readable