|
 |
|
ถามเรื่อง echo ค่ะ คือตอนนี้แสดงแล้วมันไม่อยู่ด้านบนอะค่ะ จะทำยังไงให้แสดงแล้วอยู่ด้านบนอะค่ะ |
|
 |
|
|
 |
 |
|
งง บนอะไร ยังไง
|
 |
 |
 |
 |
Date :
2009-11-08 19:50:24 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
บนหน้าจออ่ะค่ะ คือตอนนี้มันแสดงอยุ่ตรงกลางอะค่ะ แบบว่าตรงกลางของบนล่างซ้ายขวา อยากให้มันอยู่ตรงกลางด้านบนค่ะ
|
 |
 |
 |
 |
Date :
2009-11-08 23:05:49 |
By :
elfying |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
เอาโค๊ดมาดูดีกว่า ไม่รู้ไป echo ตรงไหน
|
 |
 |
 |
 |
Date :
2009-11-08 23:06:57 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใส่ align="center" valign="top" ครับ

|
 |
 |
 |
 |
Date :
2009-11-09 09:25:29 |
By :
aknueng |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Code (PHP)
<div id="Layer1" style="position:absolute; left:1px; top:10px; width:126px; height:144px; z-index:1">
<? echo "สวัสดีค่ะคุณ" ?>
</div>
|
 |
 |
 |
 |
Date :
2009-11-09 09:42:44 |
By :
Sek-Artdrinker |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณมากนะค่ะ
Code (PHP)
<?php
if($result){
echo "<center><h2>การสมัครสมาชิกเรียบร้อยแล้ว</h2> <h1><a href='home.php'>กลับสู่หน้าหลัก</a></h1></center>";
}
else {
echo "การสมัครสมาชิกเกิดข้อผิดพลาด";
}
mysql_close();
}
?>
โค้ดนะค่ะ
|
 |
 |
 |
 |
Date :
2009-11-09 21:45:56 |
By :
elfying |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
<style type="text/css">
html,body{
vertical-align:top;
}
</style>
<?php
if($result){
echo "<center><h2 style=\"margin:0px; padding:0px; vertical-align:top;\">การสมัครสมาชิกเรียบร้อยแล้ว</h2> <h1><a href='home.php'>กลับสู่หน้าหลัก</a></h1></center>";
}
else {
echo "การสมัครสมาชิกเกิดข้อผิดพลาด";
}
mysql_close();
}
?>
ลองดูว่าได้ไหม
|
 |
 |
 |
 |
Date :
2009-11-10 00:17:47 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่ได้ค่ะ
|
 |
 |
 |
 |
Date :
2009-11-10 00:20:32 |
By :
elfying |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
นั่นคือโค๊ดทั้งหมดเล้วใช่ไหม หรือว่ามีกั๊ก 
|
 |
 |
 |
 |
Date :
2009-11-10 00:25:20 |
By :
plakrim |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่เอา code ทั้งหน้ามาวางละครับ จะได้ช่วยๆ กันดู
หรือเค้าอยากได้อย่างนี้หว่า...
Code (PHP)
<?php
if($result){
echo "<meta http-equiv='Content-Type' content='text/html; charset=utf8' />";
echo "<script language='javascript'>alert('การสมัครสมาชิกเรียบร้อยแล้ว');</script>";
echo "<meta http-equiv='refresh' content='0;URL=home.php'>";
} else {
echo "<meta http-equiv='Content-Type' content='text/html; charset=utf8' />";
echo "<script language='javascript'>alert('การสมัครสมาชิกเกิดข้อผิดพลาด');</script>";
}
mysql_close();
}
?>
|
 |
 |
 |
 |
Date :
2009-11-10 09:31:33 |
By :
pokultra |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ได้แล้วค่ะ ขอบคุณทุกท่านมากค่ะ 
ไม่ได้กั๊กโค้ดนะค่ะ คิดว่าถ้าใส่หมดกลัวจะอ่านลำบากอะค่ะ เลยตัดมาส่วนที่สงสัย 
|
 |
 |
 |
 |
Date :
2009-11-11 22:42:59 |
By :
elfying |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ที่ว่าได้แล้วเอามาวางไว้ให้ดูบ้างนะครับ จะได้รู้ว่าพวกเราเดาถูกกันบ้างไหม 
|
 |
 |
 |
 |
Date :
2009-11-12 08:50:17 |
By :
pokultra |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 00
|