Correcto, y en el test.tpl tengo puesto
Código PHP:
Ver original<?php
include("../config/config.php");
?>
<?php
$web = mysqli_query($conectar, "SELECT Codigo FROM Diseno WHERE Dominio = 'Mi dominio'"); echo template($web1['Codigo']);
}
?>
Me da este error
Código PHP:
Ver originalWarning
: Missing argument
2 for template
(), called in
/home
/xdxdx157
/public_html
/cms
/diseno
/a
.php
(9) : eval()'d code on line 7 and defined in /home/xdxdx157/public_html/cms/diseno/a.php on line 2
Warning: file_get_contents(ferger fgr rg ewf ewr ewr no) [function.file-get-contents]: failed to open stream: No such file or directory in /home/xdxdx157/public_html/cms/diseno/a.php on line 5
Warning: Invalid argument supplied for foreach() in /home/xdxdx157/public_html/cms/diseno/a.php on line 14