<script type="text/javascript">
var head= 23;
</script>
<?php
$h="<script language='javascript'> document.write(head);</script>";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=ISO-8859-1" . "\r\n";
$mail_from='[email protected]';
$name="husssain";
$headers.="From: $name <$mail_from>";
$con="Welcome to world";
$to ="[email protected]";
$send_contact = mail($to,$con,$h,$headers);
?>
then i send the $h
to my mail id but i recieve only this <script language='javascript'> document.write(head);</script>