|
![](/images/resource/spacer.gif) |
|
ต้องการเพิ่มหน้า view.php ผมต้องเขียนโค้ดยังไงครับ งมมาหลายวันแล้ว รบกวนผู้รู้ด้วยครับ |
|
![](/images/resource/viewboard_01.gif?v=1001) |
|
|
![](/images/resource/viewboard_03.gif?v=1001) |
![](/images/resource/viewboard_04.gif?v=1001) |
|
คุณน่าจะเอามาจากที่นี่ใช่ป่ะครับ
แจกฟรี ปฏิทินกิจกรรม PHP กับฐานข้อมูล MySQL Database เอาไปใช้กันแบบฟรี !!
Code (view.php)
<?php
mysql_connect("localhost","root","supakit");
mysql_select_db("activity") or die(mysql_error());
mysql_query("SET NAMES UTF8");
$sql="select * from activity where ACTIVITY_ID='".trim($_GET["ActivityID"])."' ";
//echo $sql."<br>";
$query=mysql_query($sql);
$result=mysql_fetch_array($query);
echo $result["XXXX"];
?>
|
![](/images/resource/blockviewtopic_01.gif?v=1001) |
![](/images/resource/blockviewtopic_02.gif?v=1001) |
![](/images/resource/blockviewtopic_03.gif?v=1001) |
![](/images/resource/blockviewtopic_04.gif?v=1001) |
Date :
2015-02-10 16:36:40 |
By :
mr.win |
|
![](/images/resource/blockviewtopic_06.gif?v=1001) |
![](/images/resource/blockviewtopic_07.gif?v=1001) |
![](/images/resource/blockviewtopic_08.gif?v=1001) |
![](/images/resource/blockviewtopic_09.gif?v=1001) |
|
|
![](/images/resource/viewboard_06.gif?v=1001) |
![](/images/resource/viewboard_07.gif?v=1001) |
|
![](/images/resource/viewboard_08.jpg?v=1001) |
![](/images/resource/viewboard_09.gif?v=1001) |
|
|
|
![](/images/digitalocean-banner.jpg)
|
Load balance : Server 04
|