"; } else { echo "Could not read variable."; } } $myclass = new createform; echo $myclass->create_textbox(text); ?>