Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Form {
- public function open($x) {
- return "<form action='$x' method='$x'>";
- }
- }
- $form = new Form;
- echo $form->open('index.php, post');
- -------ERROR-------
- <form action='index.php, post' method='index.php, post'>
Add Comment
Please, Sign In to add comment