function alertPhp($texto){ echo “<script type=’text/javascript’>alert(‘”.$texto.“‘);</script>”; }
Tag: php
$foo = strip_tags($source, ‘<body>, <a>, <br>, <strong>, <b>, <i>, <em>, <font>’); ereg (“<body(+)>(.+)</body>”, $foo, $regs); echo $regs;
function rewrite($label) { /* Expression régulière permettant le changement des caractères accentués en * caractères non...
<?php $dbhost = “servidor”; $dbuser = “usuario”; $dbpassword = “clave”; $dbname = “base_de_datos”; mysql_connect($dbhost,$dbuser,$dbpassword); $tablas = mysql_list_tables($dbname); while (list($tabla) = mysql_fetch_row($tablas)) { echo $tabla.“<br...