I以下は管理者 にメールなどの情報を送信しようとしていますが、メールのコードであり、私は別のファイルでは、この使用のfile_get_contents()を読んでいます。メールでのPHPがメールで正常に動作していない()
<!doctype html>
<?php
require_once("mysqlconnect.php");
session_start();
?>
<html>
<head>
<link rel="stylesheet" href="css/mail.css">
</head>
<body>
<table border="2">
<?php
$q="select * from profile where mobile=2147483647";
$result=mysqli_query($conn,$q);
while($row = mysqli_fetch_assoc($result))
{
foreach($row as $key=>$value)
{
if($key=="Email")
echo"<tr><th>$key</th><td><a href='mailto:$value; target='_blank'>$value</td></tr>";
else
echo"<tr><th>".str_replace('_',' ',$key)."</th> <td>$value</td></tr>";
}
}
?>
</table>
</body>
</html>
<?php
session_destroy();
?>
このコードの結果は、PHPコード自体..です
$value) { if($key=="Email") echo"
$key $value
"; else echo"
".str_replace('_',' ',$key)." $value
"; } } ?>
okありがとう::) – katty
私は評判が低いです – katty
クラスmysqliのオブジェクトは、これを他のファイルに文字列として追加するとreg.phpの文字列に変換できませんでした。 – katty