J'ai trouvé cette question , qui semble suggérer que je peux simplement coller mon HTML, mais lorsque j'essaie de ressembler au HTML, il ne s'affiche pas. Ci-dessous, ce que je colle:
<pre style="background:rgba(238,238,238,0.92);color:#000"><?php
$stmt <span style="color:#00f">=</span> $dbConnection<span style="color:#00f">-></span>prepare(<span style="color:#093">'<span style="color:#00f">SELECT</span> <span style="color:#00f">*</span> <span style="color:#00f">FROM</span> employees <span style="color:#00f">WHERE</span> name <span style="color:#00f">=</span> ?'</span>);
$stmt<span style="color:#00f">-></span>bind_param(<span style="color:#093">'s'</span>, $name);
$stmt<span style="color:#00f">-></span>execute();
$result <span style="color:#00f">=</span> $stmt<span style="color:#00f">-></span>get_result();
<span style="color:#00f">while</span> ($row <span style="color:#00f">=</span> $result<span style="color:#00f">-></span>fetch_assoc()) {
<span style="color:#06f;font-style:italic">// do something with $row</span>
}
?>
</pre>
Est-ce que quelqu'un sait ce que je dois faire pour qu'il soit rendu?