/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#Ejemplos: #echo levantar($_GET["variable"], varchar, 'hola'); #$variable = levantar($_GET["variable"], int, 0 ); function levantar(&$str,$tipo=1,$default='',$upper=0){ $return = ''; if($tipo==1): $return = limpiar($str); elseif($tipo==2): $return = limpiarHTML($str); else: endif; else: endif; return $return; }