All pastes #341493 Raw Edit

Mine

public text v1 · immutable
·published 2007-02-05 18:02 UTC
rendered paste body
<?php
	class create_form {
		function create_textbox($var) {
			if($var == "text") {
				echo "<input type=\"$var\" />";
			} else {
				echo "Could not read variable.";
			}
		}
	}

$myclass = new create_form;
$myclass->create_textbox(text);
?>