Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > PHP > PHP Forum > รบกวนหน่อยครับ เรื่องการรับดึงค่า แล้วให้ค่าไปเก็บ



 

รบกวนหน่อยครับ เรื่องการรับดึงค่า แล้วให้ค่าไปเก็บ

 



Topic : 066746



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook



ผมจะทำ ให้ลูกค้ากรอก ข้อมูลลงไป ในช่องที่กำหนด แล้วพอกด ชำระเงินก็ให้ค่าที่กรอกตามไปด้วย
ไไไ

โค้ดฟร์อมแรก ในช่อง สี และ size ผมได้ดึง มาจากฐานข้อมูลเพื่อมาแสดง เป็น สี และ size หลัก แต่อย่างให้เมื่อมีการกรอกข้อมูลไปใหม่จะให้ค่ามันเปลี่ยน แล้วให้ไปแสดงอีกหน้าด้วย พร้อมเก็บในฐานข้อมูล ครับ
Code (PHP)
<?
ob_start();
//============ Start Session และทำการเรียก Function ติดต่อฐานข้อมูล 
session_start();
require("connect/connect.php");
require("connect/function.php");
?><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>::: www.beautifulshop-dress.com :::</title>
<link href="css/styles.css" rel="stylesheet" type="text/css">
<style type="text/css">
#popupimg { position: absolute;display: none;  z-index: 99; width:200px; height:280px; border:#000000 solid 1px; }
.thumbnail { width:60px; height:75px; }
.style1 {color: #FF0000}
</style>
</head>

<style>body{background-attachment: fixed;}</style>
<body background="image/abc.png" topmargin="0">
<table width="1078" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
  <tr> 
    <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td>
            <?php require_once('head.php'); ?>

<?

//============ Check ว่ามีซ้ำแล้วหรือยัง
if($_GET["ProductID"] != "")
{
	for($i=0;$i<=count($_SESSION["strProductID"]);$i++)
	{
			if($_SESSION["strProductID"][$i] == $_GET["ProductID"])
			{
			header("location:$_SERVER[PHP_SELF]");
			exit();
			}
	}
}

//============ ถ้ามีการเลือกรายการสินค้าให้เก็บลง Session
if(trim($_GET["ProductID"]) != "")
{
	$_SESSION["strP"]=$_SESSION["strP"]+1;
	$_SESSION["strProductID"][$_SESSION[strP]]=$_GET["ProductID"];
	$_SESSION["strQuanlity"][$_SESSION[strP]]=1;
	session_write_close();
	header("location:$_SERVER[PHP_SELF]");
}	

//============ กรณีลบรายการสั่งซื้อ
if(trim($_GET["action"]) == "Del")
{
	$_SESSION["strProductID"][$_GET[P]]="";
	$_SESSION["strQuanlity"][$_GET[P]]="";
	session_write_close();
	header("location:$_SERVER[PHP_SELF]");
}	

//============ กรณีการแก้ไขรายการสั่งซื้อ
if(trim($_POST["action"]) == "Update")
{
for($i=0;$i<count($_POST["txtQua"]);$i++)
{	
	$strP=$_POST[txtP][$i];
	$strQ=$_POST["txtQua"][$i];
	if($strQ <= 0)
	{
	$strQ=1;
	}

	$_SESSION["strQuanlity"][$strP]=$strQ;
/*
	$result=select("product","where 1=1 and ProductID='".$_SESSION["strProductID"][$strP]."'");
	if($result["Stock"] < $strQ)
	{
	$_SESSION["strQuanlity"][$strP]=$result["Stock"];
									echo"<script language='JavaScript'>";
									echo"alert('รหัสสินค้า [ $result[ProductCode] ] มีจำนวน Stock ไม่เพียงพอ');";
									echo"</script>";	
	}
*/	
	
}	
	session_write_close();
	//============ กระโดด Refresh ใหม่อีกรอบ
	header("location:$_SERVER[PHP_SELF]");
}	
?>			
          </td>
        </tr>
        <tr> 
          <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#f2f2f6" bgcolor="#FFFFFF">
              <tr> 
                <td width="16%" valign="top"> <?php require_once('menuleft.php'); ?> <br> </td>
                <td width="68%" valign="top"> 
                  <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <!--DWLayoutTable-->
                    <tr> 
                      <td width="100%" height="1531" valign="top">
                        <form  method="post" name="frmCart" id="frmCart" action="">
                          <table width="100%" border="0">
                            <tr> 
                              <td><table width="100%" height="22" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
                                  <tr> 
                                    <td width="100%" background="image/menu02.jpg"><div align="center"><strong>รายการสั่งซื้อ 
                                        <input name="action" type="hidden" id="action" value="Update">
                                        </strong></div></td>  
                                  </tr>
                                </table>
                                <strong> </strong></td>
                            </tr>
                            <tr> 
                              <td>&nbsp;</td>
                            </tr>
                            <tr> 
                              <td><table width="98%" height="21" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666">
                                  <tr bgcolor="#FFFFFF"> 
                                    <td><div align="center">ลำดับ</div></td>
                                    <td><div align="center">รูปสินค้า</div></td>
                                    <td><div align="center">ชื่อสินค้า</div></td>
                                    <td bgcolor="#FF0000"><div align="center">สี</div></td>
                                    <td bgcolor="#FF0000"><div align="center">size</div></td>
                                    <td><div align="center">ราคา</div></td>
                                    <td><div align="center">ค่าจัดส่ง</div></td>
                                    <td bgcolor="#FF33CC"><div align="center">จำนวน</div></td>
                                    <td><div align="center">รวม</div></td>
									<td><div align="center">ลบ</div></td>
                                  </tr>
                                  <?

//============ ทำการแสงรายการที่ได้เลือกว่ามีกี่รายการ

$strNum=0;
$strTotal=0;
for($i=0;$i<=count($_SESSION["strProductID"]);$i++)
{
//============ เลือกว่ารายการสินค้าใดบ้าง
$result=select("product","where 1=1 and ProductID='".$_SESSION["strProductID"]["$i"]."' ");
if($result)
{
$strNum++;
?>
                                  <tr bgcolor="#FFFFFF"> 
                                    <td width="8%"> <div align="center"> 
                                        <?=$strNum;?>
                                        </div></td>
                                    <td width="9%"><div align="center"><a href="detail.php?CatID=<?=$result["CatID"];?>&ProductID=<?=$result["ProductID"];?>" ><img id="popupimg" /><img src="picture/<?=$result["Picture"];?>" width="60" height="75" border="0"onmouseover="this.src='picture/<?=$result["Picture"];?>';"onmouseout="this.src='picture/<?=$result["Picture"];?>';" /></a></div></td>
                                    <td width="9%"><div align="center">
                                      <?=$result["ProductName"];?></div></td>
                                    <td width="12%"><div align="center">
                                      <label for="label"></label> 
                                      <input type="text" name="textfield2" id="label" style="width:80px" maxlength="10" value="<?=$result["Color"];?>">
                                    </div></td>
                                    <td width="12%"><div align="center">
                                      <label for="label2"></label>
                                      <input type="text" name="textfield3" id="label2"  style="width:80px" maxlength="8" value="<?=$result["size"];?>">
                                    </div></td>
                                    <td width="12%"> <div align="right"> 
                                        <?="".number_format($result["Price"], 2,'.',',');?>
                                    </div></td>
                                    <td width="8%"> 
                                      <div align="right">
                                        <?="".number_format($result["PriceSend"], 2,'.',',');?>
                                      </div></td>
                                    <td width="13%"><div align="center"> 
                                       <input name="txtP[]" type="hidden" id="txtP[]" value="<?=$i;?>">
                                        <input name="txtQua[]" type="text" id="txtQua<?=$strNum;?>" style="width:30px;text-align:right" value="<?=$_SESSION["strQuanlity"]["$i"];?>" maxlength="3" onChange="checknum(this.value,'txtQua<?=$strNum;?>');">
                                    </div></td>
                                    <td width="10%"> <div align="right"> 
                                        <?="".number_format(($result["Price"]+$result["PriceSend"])*$_SESSION["strQuanlity"]["$i"], 2,'.',',');?>
                                      </div></td>
									  <td width="7%"> <div align="center"><a href="javascript:if(confirm('ลบรายการสินค้า')==true){window.location='<?=$_SERVER['PHP_SELF'];?>?action=Del&P=<?=$i;?>';}"><img src="image/Bin.png" width="30"  height="30" border="0"onMouseOver="this.src='image/Bin1.png';"onMouseOut="this.src='image/Bin.png';"/></a></div></td>
                                  </tr>
                                  <?
								  $strTotal=$strTotal+(($result["Price"]+$result["PriceSend"])*$_SESSION["strQuanlity"]["$i"]);
}
}
?>
                                </table>
                                <div align="center">
                                  <table width="98%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="7%">&nbsp;</td>
                                      <td width="10%">&nbsp;</td>
                                      <td width="10%">&nbsp;</td>
                                      <td width="12%"><span class="style1">*เลือกสีที่มี</span></td>
                                      <td width="23%"><p class="style1">*เลือก size ที่มีเช่น s,m,L,freesize หรือ ชาย , หญิง </p>                                      </td>
                                      <td width="7%">&nbsp;</td>
                                      <td width="10%">&nbsp;</td>
                                      <td width="10%">&nbsp;</td>
                                      <td width="11%">&nbsp;</td>
                                    </tr>
                                  </table>
                                </div>
                                <table width="98%" height="21" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666">
                                  <tr bgcolor="#FFFFFF"> 
                                    <td><div align="right">จำนวน (รายการ)</div></td>
                                    <td bgcolor="#FF6600"> <div align="right"> 
                                        <?=$strNum;?>
                                    </div></td>
                                  </tr>
                                  <tr bgcolor="#FFFFFF"> 
                                    <td> <div align="right">ราคารวม (บาท)</div></td>
                                    <td width="16%" bgcolor="#FF3300"> <div align="right"> 
                                        <?="".number_format($strTotal, 2,'.',',');?>
                                    </div></td>
                                  </tr>
                                </table></td>
                            </tr>
                            <tr> 
                              <td width="100%"><div align="center"><br>
                                  <?
							if($strNum==0)
							{
							echo "<br><center><strong><font color=red>ไม่มีรายการสั่งซื้อ</font></strong></center><br><br>";
							}
							?>
                                  <input name="BtnContinute" type="button" class="button" id="BtnContinute2" value="ซื้อสินค้าต่อ" onClick="window.location='index.php';">
                                  &nbsp; 
                                  <?
								  if($strNum>0)
								  {?>
                                  <input name="BtnCalu" type="submit" class="button" id="BtnCalu" value="คำนวณเงินใหม่">
                                  &nbsp; 
                                  <input name="BtnPayment" type="button" class="button" id="BtnPayment" value="ชำระเงิน" onClick="window.location='pay.php';">
                                  <?}?>
                                  <br>
                                </div></td>
                            </tr>
                          </table>
                          <p class="style59">&nbsp;</p>
                        </form>
                        <p class="style59">&nbsp;
						<script language="JavaScript">
						function checknum(value,fields)
						{
						if(!check_number(value))
						{
						eval("document.all."+fields+".value='1';");
						alert('กรอกจำนวนไม่ถูกต้อง');
						}
						}
						
						function check_number(ch){
							var len, digit;
							if(ch == " "){ 
								return false;
									 len=0;
								}else{
									 len = ch.length;
							}
							for(var i=0 ; i<len ; i++)
							{
								digit = ch.charat(i)
								if(digit >="0" && digit <="9"){
									;	
								}else{
									return false;					
								}		
							}		
							return true;
						}						
						</script></p>
                      </p></td>
                    </tr>
                </table></td>
                <td width="16%" valign="top"> <?php require_once('menuright.php'); ?> </td>
              </tr>
              <tr> 
                <td colspan="3" valign="top">
                  <?php require_once('down.php'); ?>
                </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>


หน้า ที่ 2 หลังจากกด ชำระเงิน
แแ

โค้ดหน้าที่ 2 อยากให้มันดึงค่าที่กรอกมาใหม่อะครับ มาโช์วด้วย
Code (PHP)
<?
ob_start();
//============ Start Session และทำการเรียก Function ติดต่อฐานข้อมูล 
session_start();
require("connect/connect.php");
require("connect/function.php");

//============ กรณีเลือกทำการ บันทึกข้อมุลสั่งซื้อ
if($_POST["action"]=="add")
{
// อ่าน OrderID
$strResultOrderID=select("orderid","where 1");
$strOrderID="ORDER-".substr("000000000$strResultOrderID[OrderID]", -6);

//อ่าน MemberID
$strMemberID=select("member","where 1 and Email='".$_SESSION["strEmail"]."'");

// Insert Order
$sql = "insert into cusorder (OrderNo,MemberID,Total,Date) Values ('$strOrderID','$strMemberID[MemberID]','$_POST[txtTotal]','".date("Y-m-d")."')";
$dbquery = mysql_query($sql);
								  
// Insert Detail

for($i=0;$i<=count($_SESSION["strProductID"]);$i++)
{
	$result=select("product","where 1=1 and ProductID='".$_SESSION["strProductID"]["$i"]."' ");
	if($result)
	{
			$Proid=$_SESSION["strProductID"]["$i"];
			$Quanlity=$_SESSION["strQuanlity"]["$i"];
			$sql = "update product set Stock=Stock-$Quanlity where ProductID='$Proid'";
			$dbquery = mysql_query($sql);
				
			$sql = "insert into order_detail (OrderNo,ProductID,Quanlity) Values ('$strOrderID','".$_SESSION["strProductID"]["$i"]."','".$_SESSION["strQuanlity"]["$i"]."')";
			$dbquery = mysql_query($sql);
	}
}

// Update Order ตัวต่อไปให้เป็น 1
update("orderid","OrderID=OrderID+1","where 1");

	$_SESSION["strP"]="";
	$_SESSION["strProductID"]="";
	$_SESSION["strQuanlity"]="";
	session_write_close();
	//============  กระโดดไปหน้า ordercomplete.php
header("location:ordercomplete.php?OrderID=$strOrderID");
}


?><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<title>::: www.beautifulshop-dress.com :::</title>
<link href="css/styles.css" rel="stylesheet" type="text/css">
</head>

<style>body{background-attachment: fixed;}</style>
<body background="image/z06.jpg" topmargin="0">
<table width="1078" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
  <tr> 
    <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td>
            <?php require_once('head.php'); ?>
          </td>
        </tr>
        <tr> 
          <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#f2f2f6" bgcolor="#FFFFFF">
              <tr> 
                <td width="16%" valign="top"> <?php require_once('menuleft.php'); ?> <br> </td>
                <td width="68%" valign="top"> 
                  <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                    <!--DWLayoutTable-->
                    <tr> 
                      <td width="100%" height="1537" valign="top">
<form action="" method="post" name="frmCart" id="frmCart">
                          <table width="100%" border="0">
                            <tr> 
                              <td><table width="100%" height="69" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01" background="image/confirm002.png">
                                <tr>
                                  <td width="100%" height="25" >&nbsp;</td>
                                </tr>
                                <tr>
                                  <td height="42">&nbsp;</td>
                                </tr>
                                <tr>
                                  <td height="2"></td>
                                </tr>
                              </table></td>
                            </tr>
                            <tr> 
                              <td><div align="center"> 
                                  <table width="100%" border="0">
                                    <tr> 
                                      <td><strong> 
                                        <input name="action" type="hidden" id="action" value="add">
                                        </strong></td>
                                    </tr>
                                    <tr> 
                                      <td><table width="100%%" height="21" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666">
                                          <tr bgcolor="#FFFFFF"> 
                                            <td><div align="center">ลำดับ</div></td>
                                            <td><div align="center">รูปสินค้า</div></td>
                                            <td><div align="center">ชื่อสินค้า</div></td>
                                            <td bgcolor="#FF0000"><div align="center">สี</div></td>
                                            <td bgcolor="#FF0000"><div align="center">size</div></td>
                                            <td><div align="center">ราคา</div></td>
                                            <td><div align="center">ค่าจัดส่ง</div></td>
                                            <td bgcolor="#FF33CC"><div align="center">จำนวน</div></td>
                                            <td><div align="center">รวม</div></td>
                                          </tr>
                                          <?

	//============  แสดงรายการที่ได้สั่งซื้อว่ามีอะไรบ้าง

$strNum=0;
$strTotal=0;
for($i=0;$i<=count($_SESSION["strProductID"]);$i++)
{
		//============  เลือกว่าเป็นรายการสินค้าชนิดใด
$result=select("product","where 1=1 and ProductID='".$_SESSION["strProductID"]["$i"]."' ");
if($result)
{
$strNum++;
?>
                                          <tr bgcolor="#FFFFFF"> 
                                            <td width="6%"> <div align="center"> 
                                                <?=$strNum;?>
                                              </div></td>
                                            <td width="9%"><div align="center"><a href="detail.php?CatID=<?=$result["CatID"];?>&ProductID=<?=$result["ProductID"];?>" ><img src="picture/<?=$result["Picture"];?>" width="60" height="75" border="0"onmouseover="this.src='picture/<?=$result["Picture"];?>';"onmouseout="this.src='picture/<?=$result["Picture"];?>';" /></a></div></td>
                                            <td width="13%"><div align="center">
                                              <?=$result["ProductName"];?>
                                            </div></td>
                                            <td width="12%"><div align="center">ค่าที่กรอก</div></td>
                                            <td width="13%"><div align="center">ค่าที่กรอก</div></td>
                                            <td width="11%"> <div align="right"> 
                                                <?="".number_format($result["Price"], 2,'.',',');?>
                                              </div></td>
                                            <td width="11%"> 
                                              <div align="right">
                                                <?="".number_format($result["PriceSend"], 2,'.',',');?>
                                              </div></td>
                                            <td width="9%"><div align="center"> 
                                                <?=$_SESSION["strQuanlity"]["$i"];?>
                                              </div></td>
                                            <td width="16%"> <div align="right"> 
                                                <?="".number_format(($result["Price"]+$result["PriceSend"])*$_SESSION["strQuanlity"]["$i"], 2,'.',',');?>
                                              </div></td>
                                          </tr>
                                          <?
								  $strTotal=$strTotal+(($result["Price"]+$result["PriceSend"])*$_SESSION["strQuanlity"]["$i"]);
}
}
?>
                                        </table>
                                        <br> <table width="100%" height="21" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666">
                                          <tr bgcolor="#FFFFFF"> 
                                            <td><div align="right">จำนวน (รายการ)</div></td>
                                            <td> <div align="right"> 
                                                <?=$strNum;?>
                                              </div></td>
                                          </tr>
                                          <tr bgcolor="#FFFFFF"> 
                                            <td> <div align="right">ราคารวม (บาท)</div></td>
                                            <td width="16%"> <div align="right"> 
                                                <?="".number_format($strTotal, 2,'.',',');?>
                                                <input name="txtTotal" type="hidden" value="<?=$strTotal;?>">
                                              </div></td>
                                          </tr>
                                        </table></td>
                                    </tr>
                                    <tr> 
                                      <td width="100%">
<div align="center"><br>
                                          <hr align="center" width="98%" color="#f2f2f6">
                                          <br>
                                          <?
							if($strNum==0)
							{
							echo "<br><center><strong><font color=red>ไม่มีรายการสั่งซื้อ</font></strong></center><br><br>";
							}
							?>
                                          <input name="BtnContinute" type="button" class="button" id="BtnContinute" value="กลับไปแก้ไข" onClick="window.location='cart.php';">
                                          &nbsp; 
                                          <?
								  if($strNum>0)
								  {?>
                                          &nbsp; 
                                          <input name="BtnPayment" type="submit" class="button" id="BtnPayment" value="ยืนยันการสั่งซื้อ">
                                          <?}?>
                                          <br>
                                        </div></td>
                                    </tr>
                                  </table>
                                </div></td>
                            </tr>
                            <tr> 
                              <td>&nbsp;</td>
                            </tr>
                            <tr> 
                              <td width="378">&nbsp;</td>
                            </tr>
                          </table>
                        </form>
                        <p class="style59">&nbsp;</p>
                        <p class="style59">&nbsp;</p>
                      <p class="style59">&nbsp;</p></td>
                    </tr>
                </table></td>
                <td width="16%" valign="top"> <?php require_once('menuright.php'); ?> </td>
              </tr>
              <tr> 
                <td colspan="3" valign="top">
                  <?php require_once('down.php'); ?>
                </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>





Tag : PHP, JavaScript, CakePHP







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2011-09-18 17:18:23 By : tormam View : 1179 Reply : 14
 

 

No. 1



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook








แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 18:28:05 By : tormam
 


 

No. 2



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook


แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 20:19:53 By : tormam
 

 

No. 3



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

งง ทำไมมันไม่ได้ แก้แล้วแก้ อีก สุดท้ายก็ต้องกลับมาเริ่มต้น
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 21:09:13 By : tormam
 


 

No. 4



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

เราต้องเอาค่าที่กรอก ใหม่ ไป อัพเดท กับฐานข้อมูลก่อนไหม ครับ แล้ว ผมจะแทรก โค้ด ตรงไหน อะ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 22:06:21 By : tormam
 


 

No. 5



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

มันคือโค้ด อะไรหรอนี้
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 22:31:51 By : tormam
 


 

No. 6

Guest


งง เอง ซะงั้น
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 22:34:03 By : น้องใหม่
 


 

No. 7



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

อะคับ งง มาก ไม่รุ ว่า จะเพิ่ม อัพเดทยังไง อิอิ ลอง ใส่ อยู่
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-18 22:37:40 By : tormam
 


 

No. 8



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

ง่า
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-19 08:16:46 By : tormam
 


 

No. 9



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

ช่วยหน่อยครับ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-19 10:02:55 By : tormam
 


 

No. 10



โพสกระทู้ ( 11,835 )
บทความ ( 10 )

สมาชิกที่ใส่เสื้อไทยครีเอท Hall of Fame 2012

สถานะออฟไลน์


ไว้คืนนี้ถ้ายังไม่ได้คำตอบจะมาดูให้ โค๊ดยาวขี้เกียจไล่ อ่านแล้วผ่านไปสองรอบละ ท้อใจกะโค๊ดยาวๆ
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-19 10:49:01 By : ikikkok
 


 

No. 11



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

อิอิ ผม ก็ไล่ มั้ว ๆ อยู่
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-19 11:06:36 By : tormam
 


 

No. 12



โพสกระทู้ ( 254 )
บทความ ( 0 )



สถานะออฟไลน์
Facebook

ที่ต้องการทำตอนนี้ เอาแค่ โค้ด แรก ก็พอละ ครับที่ จะให้ ช่อง สี และ size ที่กรอก ไปใหม่มันไปเก็บในฐานข้อมูล แต่ไม่รุจะต้องทำไง
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-19 16:17:18 By : tormam
 


 

No. 13

Guest


โคดยาวจังเลยอะนาย
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2011-09-19 19:46:18 By : kala
 


 

No. 14

Guest


ไปก๊อปใครมา
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-01-26 09:40:50 By : ITEngenier
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : รบกวนหน่อยครับ เรื่องการรับดึงค่า แล้วให้ค่าไปเก็บ
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ FTP| ใส่แถวของตาราง ใส่คอลัมน์ตาราง| ตัวยก ตัวห้อย ตัวพิมพ์ดีด| ใส่โค้ด ใส่การอ้างถึงคำพูด| ใส่ลีสต์
smiley for :lol: smiley for :ken: smiley for :D smiley for :) smiley for ;) smiley for :eek: smiley for :geek: smiley for :roll: smiley for :erm: smiley for :cool: smiley for :blank: smiley for :idea: smiley for :ehh: smiley for :aargh: smiley for :evil:
Insert PHP Code
Insert ASP Code
Insert VB.NET Code Insert C#.NET Code Insert JavaScript Code Insert C#.NET Code
Insert Java Code
Insert Android Code
Insert Objective-C Code
Insert XML Code
Insert SQL Code
Insert Code
เพื่อความเรียบร้อยของข้อความ ควรจัดรูปแบบให้พอดีกับขนาดของหน้าจอ เพื่อง่ายต่อการอ่านและสบายตา และตรวจสอบภาษาไทยให้ถูกต้อง

อัพโหลดแทรกรูปภาพ

Notice

เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ
อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง

   
  เพื่อความปลอดภัยและการตรวจสอบ กระทู้ที่แทรกไฟล์อัพโหลดไฟล์จากที่อื่น อาจจะถูกลบทิ้ง
 
โดย
อีเมล์
บวกค่าให้ถูก
<= ตัวเลขฮินดูอารบิก เช่น 123 (หรือล็อกอินเข้าระบบสมาชิกเพื่อไม่ต้องกรอก)







Exchange: นำเข้าสินค้าจากจีน, Taobao, เฟอร์นิเจอร์, ของพรีเมี่ยม, ร่ม, ปากกา, power bank, แฟลชไดร์ฟ, กระบอกน้ำ

Load balance : Server 01
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่