Don't like ads? PRO users don't see any ads ;-)

Untitled

By: nep0x on Jun 20th, 2012  |  syntax: PHP  |  size: 0.59 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?PHP
  2. //include ('scripts/html/libreria_funciones_html.php');
  3.  
  4. //cabecera("Esta es una pagina de prueba");
  5. echo '<html>
  6.         <head>
  7.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  8.         <meta http-equiv="Content-language" content="es" />
  9.         <title>'.$title.'</title>
  10.         </head>
  11.         <body>';
  12.  
  13. //STR_REPLACE DON T WORK!!!    
  14. $numerico = 4.53;
  15. echo $numerico."<BR>";
  16. echo strpos($numerico, "."). "<BR>";
  17. //str_replace(".","6",(string) $numerico);
  18. str_replace(".","6",$numerico);
  19. //substr_replace ($numerico, '6', strpos($numerico,"."));
  20. echo $numerico;
  21.  
  22.  
  23.  
  24. echo '</body>
  25.         </html>';