Guest User

texto_con_color

a guest
Jul 3rd, 2018
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function texto_con_color($texto){
  3. $color="red";
  4. $cssFont_="<font color=\"$color\">";
  5. $_cssFont='</font>';
  6. $mi_textofinal = $cssFont_ .$texto.$_cssFont;
  7. return $mi_textofinal;
  8. }
  9. echo htmlspecialchars(texto_con_color("prueba de texto"));
  10. ?>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×