Ich arbeite an der Erstellung einer Admin-Website mit AdminLTE kostenlose Vorlage in der Proges Ich habe ein Problem mit einer Variablen aus PHP Klammern in der HTML-Seite Ich möchte etwas wie zu tun haben dies:Variablen in PHP in HTML
<!DOCTYPE html>
<html>
<head >
<!-- rest of the page -->
<span class="info-box-text" name= "msg" >
\t \t \t <!-- I want to print x here inside the info box -->
\t \t \t \t <script> <?php echo $x ?> </script>
\t </span>
<!-- the function that has the output comes after it is called -->
<script>
<?php
do somthing to $x
$output_messege = "the result of something=".$x"."
?>
</script>
</head >
</html>
Was ist das Ergebnis, das Sie erhalten? Ist PHP installiert? – mkaatman
Erhalten Sie Fehler? –