How to Remove a PHP Block
PHP code designation uses "greater than" and "less than" characters with question marks. These characters help you identify PHP blocks of code, so you can edit the code or delete the block of code. You must delete all lines of code and the PHP designation characters to remove the code from your files without causing a syntax error.
Instructions
-
-
1
Right-click your website file that contains the PHP block you want to delete. Click "Open With," and then click your PHP editor.
-
2
Locate the PHP block you want to delete. The opening PHP designation code is "<?php" and the closing tag is "?>."
-
-
3
Delete the PHP block including the opening and closing PHP tags. Save the changes to the file to complete the removal of the PHP code.
-
1