Add a comment to the code and fix the indentation to match the rest of code.
This commit is contained in:
parent
6b03488eb0
commit
4138541e06
|
|
@ -38,6 +38,8 @@
|
|||
//includes
|
||||
if (!defined('STDIN')) { include "root.php"; }
|
||||
require_once "resources/require.php";
|
||||
|
||||
//define a function to remove html tags
|
||||
function rip_tags($string) {
|
||||
// ----- remove HTML TAGs -----
|
||||
$string = preg_replace ('/<[^>]*>/', ' ', $string);
|
||||
|
|
|
|||
Loading…
Reference in New Issue