Run ❯
Get your
own PHP
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <?php // Make the URL rewriter affect <a href> and <form> tags ini_set('url_rewriter.tags','a=href,form='); // Add a variable output_add_rewrite_var('var', 'value'); // Output a link and a form echo '<a href="">This link\'s URL will have a variable</a>'; echo '<form>'; echo '<p>This form will have a hidden input</p>'; echo '<input type="text" name="hello">'; echo '</form>'; ?> </body> </html>
This link's URL will have a variable
This form will have a hidden input