repl.it
PHP Web Server

No description

fork
loading
Files
  • index.php
  • index.html
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
  <head>
    <title>PHP Test</title>
  </head>
  <body>
<form action="index.php" method="post"><input type="checkbox" value="apples" name="Nope[]"><input type="checkbox" name="Noper[]"><input type="Submit"><form>
    <?php 
			class Book{
				var	$Bob;
				var	$Bob2;
			}
			$app = new Book;
			$app->Bob = "sddsds";
			$app->Bob2 = "sddsds2222";
			echo $app->Bob2;
		?> 
  </body>
	
</html>
?