Hello,
How I include PHPcode in .htm/.html pages?Please tell me.
Thanks
Hello,
How I include PHPcode in .htm/.html pages?Please tell me.
Thanks
Ultima modifica di Gracey : 04-03-2009 a 11:08
*--- edit by MOD ---*
You can't use PHPcode in .htm/.html pages... but you can use HTML code in PHP pages!
for example:
Codice PHP:
<?php
echo "<div>this is php</div>";
?>
<div>this is html</div>
<?php
echo "<div>other...</div>";
?>
see you.
If you like translate the Italian , here you can found some of interesting
PHP e l'HTML | Guida PHP di base | Php.HTML.it
this site "doceT"
puoi anche fare cosi.....
oppureCodice PHP:
<?php
include("nome_file.php");
?>
Codice PHP:
<?php
include("nome_file.html");
?>
Intel i7 950@3600 Cooled by Noctua U12P | Asus Rampage III Extreme | 6GB Corsair Dominator 1600 CL8 | OCZ Vertex 2 120 GB boot | ZOTAC GTX 570 1280GB x2 SLI | 8800GTS 512(G92) PhysX | RAID0 x2 WD VelociRaptor 150 GB Programs | RAID0 x2 WD 1GB Green | Antec hcp 1200
Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)