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 : 049275



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



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




ผมไม่สามารถดึิงข้อมูลที่อยู่ใน database ซึ่งเป็น เบส Mysql ทั้งๆที่สามารถโพสข้อความลงในดาต้าเบสได้แล้วนะครับ
แต่ผมไม่สามารถดึงข้อมูลมาโชว์ได้ พี่น้องท่านใดทราบว่าผมทำผิดตรงไหนชี้แจงด้วยครับ ขอบคุณครับ...


Code (PHP)
<?php
require 'includes/config.php';
require 'smarty/libs/Smarty.class.php';

/* ============= ============= ============= */ 
/* *************~~~ require class
/* ============= ============= ============= */
require 'DB/DataObject.php';
require 'includes/con2db.php';
require 'libs/class/common.php';
require_once 'HTTP/Upload.php';
require_once 'Pager/Pager.php';
require 'File.php';

/**

* get text for banner
*/

$block['banner_center_top'] = File::readAll('modules/block/banner/center_top.txt');
$block['banner_center_middle_1'] = File::readAll('modules/block/banner/center_middle_1.txt');
$block['banner_center_middle_2'] = File::readAll('modules/block/banner/center_middle_2.txt');
$block['banner_center_middle_3'] = File::readAll('modules/block/banner/center_middle_3.txt');
$block['banner_center_bottom'] = File::readAll('modules/block/banner/center_bottom.txt');
/**/

/* ============= ============= ============= */ 
/* *************~~~ smarty configuration
/* ============= ============= ============= */
$smarty = new Smarty;
$smarty->template_dir = $config['template_dir'];
$smarty->compile_dir = $config['compile_dir'];
$smarty->config_dir = $config['config_dir'];
$smarty->cache_dir = $config['cache_dir'];

/* ============= ============= ============= */ 
/* *************~~~ require function
/* ============= ============= ============= */
require 'libs/function/smarty.php';

/* ============= ============= ============= */ 
/* *************~~~ form submit
/* ============= ============= ============= */
if ($vars['form'] == 'submit') {
	if (!isset($error)) if ($vars['poster_name'] == '') $error['poster_name'] = true;
	if (!isset($error)) if (!$common->checkCaptcha($vars['phrase'], $session)) $error['phrase'] = true;
	if (!isset($error)) {
		$upload = new HTTP_Upload();
		/*
		* upload image
		*/
		$image = $common->uploadImageAndResize('image', $config['path']['webboard_attachment'], $config['path']['webboard_attachment_thumb'], true, 560, 0);
		if (!isset($error)) if (is_array($image)) $error = $image;
		if ($image != '') $vars['image'] = $image;
		/**/
	}
	if (!isset($error)) {
		/**
		* get quotation
		*/
		if ($vars['quote_no'] != '') {
			$oWebboard_reply = DB_DataObject::factory('webboard_reply');
			$oWebboard_reply->get($vars['quote_no']);
			$vars['quote'] = $oWebboard_reply->createQuoteText($oWebboard_reply->detail, $oWebboard_reply->sequence, $oWebboard_reply->poster_name, $oWebboard_reply->time_post);
		}
		/**/
		$oWebboard_reply = DB_DataObject::factory('webboard_reply');
		$vars['sequence'] = $oWebboard_reply->getLastSequence($vars['id']);
		$vars['topic_id'] = $vars['id'];
		$vars['time_post'] = time();
		$vars['ip'] = $_SERVER['REMOTE_ADDR'];
		$vars['member_id'] = ($session['member']['id'] != '') ? $session['member']['id'] : $config['webboard_guest_id'];
		$vars['category_id'] = 1;
		$oWebboard_reply = DB_DataObject::factory('webboard_reply');
		$oWebboard_reply->setFrom($vars);
		$id = $oWebboard_reply->insert();
		if ($id > 0) {
			/**
			* update member's reply
			*/
			if ($vars['member_id'] > $config['webboard_guest_id']) {
				$oWebboard_reply = DB_DataObject::factory('webboard_reply');
				$oWebboard_reply->whereAdd('member_id = ' . $vars['member_id']);
				$count_reply = $oWebboard_reply->find();
				$oMember = DB_DataObject::factory('member');
				$oMember->get($vars['member_id']);
				$oMember->setCount_reply($count_reply);
				$oMember->update();
			}
			/**/
			/**
			* update count_reply for this topic
			*/
			$oWebboard_topic = DB_DataObject::factory('webboard_topic');
			$oWebboard_topic->updateCountReply($vars['id']);
			/**/
			$url = 'viewtopic.php?id=' . $vars['id'];
			$common->redirect('redirect.php?url=' . $url);
		}
	}
}

/* ============= ============= ============= */ 
/* *************~~~ main program
/* ============= ============= ============= */
/**
* get topic
*/
$oWebboard_topic = DB_DataObject::factory('webboard_topic');
$oMember = DB_DataObject::factory('member');
$oWebboard_topic->joinAdd($oMember);
$oWebboard_topic->selectAs();
$oWebboard_topic->selectAs($oMember, '%s_1');
$oWebboard_topic->get($vars['id']);
$arrWebboard_topic = $oWebboard_topic->getRow();
$oWebboard_rank = DB_DataObject::factory('webboard_rank');
$arrWebboard_rank = $oWebboard_rank->getRank($arrWebboard_topic['count_post_1'], $arrWebboard_topic['count_reply_1']);
$arrWebboard_topic['rank'] = $arrWebboard_rank;
/**/
/**
* get reply
*/
$list = 50;
$oWebboard_reply = DB_DataObject::factory('webboard_reply');
$oWebboard_reply->joinAdd($oMember);
$oWebboard_reply->setPager = TRUE;
/**
* make WHERE statement
*/
$oWebboard_reply->whereAdd('topic_id = ' . $vars['id']);
if ($vars['fields'] != '' && $vars['keyword'] != '') {

}
/**/
$iRows = $oWebboard_reply->count(DB_DATAOBJECT_WHEREADD_ONLY);
if ($iRows > 0) {
	$oWebboard_reply->selectAs();
	$oWebboard_reply->selectAs($oMember, '%s_1');
	$params = array(
				'mode'			=> 'Sliding', 
				'perPage'		=> $list, 
				'totalItems'		=> $iRows
	);
	$oPager =& new Pager($params);
	$oPager = $oPager->refObj;
	$iPage = $oPager->getCurrentPageID();
	if ($vars['sort'] != '' && $vars['by'] != '') {
		$orderby = sprintf('%s %s', $vars['sort'], $vars['by']);
	}
	else {
		$vars['sort'] = 'id';
		$vars['by'] = 'ASC'; //desc 28/11/09
		$orderby = 'id ASC'; //id desc 28/11/09
	}
	$oWebboard_reply->orderBy($orderby);
	$arrWebboard_reply = $oWebboard_reply->selectAll($list, $iPage);
	$page_nav = $oPager->getLinks();
	for ($i = 0; $i < sizeof($arrWebboard_reply); $i++) {
		$oWebboard_rank = DB_DataObject::factory('webboard_rank');
		$arrRank =  $oWebboard_rank->getRank($arrWebboard_reply[$i]['count_post_1'], $arrWebboard_reply[$i]['count_reply_1']);
		$arrWebboard_reply[$i]['rank'] = $arrRank;
		unset($arrRank);
	}
}
/**
* config rich text editor (FCKeditor)
*/
include_once("fckeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('detail');
$oFCKeditor->BasePath = $config['FCKeditor']['BasePath'];
$oFCKeditor->Config['EditorAreaCSS'] = $config['FCKeditor']['EditorAreaCSS'];
$oFCKeditor->ToolbarSet = 'MyToolbar';
$oFCKeditor->Height = 300;
$oFCKeditor->Config['SkinPath'] = $oFCKeditor->BasePath . 'editor/skins/silver/';
$oFCKeditor->Value = stripslashes($vars['detail']);
$smarty->assign_by_ref('oFCKeditor', $oFCKeditor);
/**/
/**
* update count_view for topic
*/
$oWebboard_topic = DB_DataObject::factory('webboard_topic');
$oWebboard_topic->get($vars['id']);
$count_view = $oWebboard_topic->count_view + 1;
$oWebboard_topic->setCount_view($count_view);
$oWebboard_topic->update();
/**/
if ($session['member']['username'] != '') $vars['poster_name'] = $session['member']['username'];

$smarty->assign_by_ref('common', $common);

/* ============= ============= ============= */ 
/* *************~~~ smarty main assign
/* ============= ============= ============= */
$smarty->assign('session', $session);
$smarty->assign('setting', $setting);
$smarty->assign('vars', $vars);

/* ============= ============= ============= */ 
/* *************~~~ smarty assign
/* ============= ============= ============= */
$smarty->assign('arrWebboard_reply', $arrWebboard_reply);
$smarty->assign('error', $error);
$smarty->assign('iRows', $iRows);
$smarty->assign('row', $arrWebboard_topic);
$smarty->assign('page_nav', $page_nav);
$smarty->assign('block', $block);

$smarty->display('viewtopic.tpl');
?>



**********************************************************************************************************************
ไฟล์ด้านบนเป็น viewtopic.php จากนั้นจะทำการเรียกไฟล์ viewtopic.tpl ซึ่งมีโค๊ดดังนี้
**********************************************************************************************************************
Code (PHP)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$setting.title}</title>
<link rel="stylesheet" type="text/css" href="css/themes/default/default.css">
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/core.js'></script>
<script type="text/javascript" src="js/jquery.lightbox-0.5.js"></script>
<link type="text/css" href="js/jquery-theme/ui.all.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="css/jquery.lightbox-0.5.css" media="screen" />
<script type="text/javascript" src="js/jquery-ui-personalized-1.6rc6.min.js"></script>
{literal}
<script language="javascript">
function quote(id) {
	var quote_no = jQueryGetElem('quote_no');
	quote_no.value = id;
	quote_no.focus();
}

$(function() {
	$('#gallery a').lightBox();
});
</script>{/literal}
</head>
<body>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" class="main">
  <tr>
    <td class="main"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="webboard">
        <tr>
          <td>{include file=header.tpl}</td>
        </tr>
        <tr>
          <td height="500" valign="top" background="images/mainbg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="5">
              <tr>
                <td><div align="center">{sStripslashes text=$block.banner_center_top}</div></td>
              </tr>
            </table>
            <br />
            <table width="95%" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#990000">
              <tr>
                <td><h3><font color="#FFFFFF">{sStripslashes text=$row.subject}</font></h3></td>
              </tr>
              <tr>
                <td bgcolor="#1A1A1A"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="20%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td><img src="modules/webboard/avatar/upload/{if $row.avatar_1 neq ''}{$row.avatar_1}{else}default.jpg{/if}" width="150" height="150" class="image" /></td>
                          </tr>
                          {if $row.id_1 gt 1}
                          <tr>
                            <td>ทีมที่ชอบ: <font color="#FF0000">{$row.favorite_team_1}</font></td>
                          </tr>
                          <tr>
                            <td><b>Rank: </b><font color="#FFCC00">{$row.rank.name}</font></td>
                          </tr>
                          <tr>
                            <td>โพสต์ ({sFormatNumber number=$row.count_post_1}) ตอบ ({sFormatNumber number=$row.count_reply_1})</td>
                          </tr>
                          <tr>
                            <td><img src="modules/webboard/rank/{$row.rank.image}" /></td>
                          </tr>
                          {/if}
                      </table></td>
                      <td width="80%" valign="top" bgcolor="#333333"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td><b>โพสต์โดยคุณ:</b> {$row.poster_name} <font size="-2">[{sFormatDateFromUnix unixtime=$row.time_post}]</font></td>
                          </tr>
                          <tr>
                            <td height="200" valign="top">{if $row.image neq ''}
                              <table width="100%" border="0" cellspacing="0" cellpadding="5">
                                <tr>
                                  <td><div id="gallery">
                                      <div align="{if $row.image_alignment eq 0}left{elseif $row.image_alignment eq 1}center{else}right{/if}"><img src="modules/webboard/upload/{$row.image}" border="0" class="image" /></div>
                                    </div></td>
                                </tr>
                              </table>
                              <br />
                              <br />
                              {/if}{sStripslashes text=$row.detail}</td>
                          </tr>
                          <tr>
                            <td valign="top">{sStripslashes text=$row.signature_1}</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td valign="top">&nbsp;</td>
                      <td valign="top" bgcolor="#333333"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td>{if $row.id_1 gt 1}<b>UID:</b> {$row.id_1} <a href="memberProfile.php?id={$row.id_1}"><img src="images/icon/profile.gif" width="55" height="17" border="0" align="absmiddle" /></a>{else}&nbsp;{/if}</td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <div align="center">{sStripslashes text=$block.banner_center_middle_1}<br />
            {foreach from=$arrWebboard_reply item=row}            </div>
            <table width="95%" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#FFFFFF">
              <tr>
                <td bgcolor="#1A1A1A"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="20%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td><img src="modules/webboard/avatar/upload/{if $row.avatar_1 neq ''}{$row.avatar_1}{else}default.jpg{/if}" width="150" height="150" class="image" /></td>
                          </tr>
                          {if $row.id_1 gt 1}
                          <tr>
                            <td>ทีมที่ชอบ: <font color="#FF0000">{$row.favorite_team_1}</font></td>
                          </tr>
                          <tr>
                            <td><b>Rank: </b><font color="#FFCC00">{$row.rank.name}</font></td>
                          </tr>
                          <tr>
                            <td>โำพสต์ ({sFormatNumber number=$row.count_post_1}) ตอบ ({sFormatNumber number=$row.count_reply_1})</td>
                          </tr>
                          <tr>
                            <td><img src="modules/webboard/rank/{$row.rank.image}" /></td>
                          </tr>
                          {/if}
                      </table></td>
                      <td width="80%" valign="top" bgcolor="#333333"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td><table width="100%" border="0" cellspacing="0" cellpadding="5">
                                <tr>
                                  <td width="55%"><b>ตอบโดยคุณ:</b> {$row.poster_name} <font size="-2">[{sFormatDateFromUnix unixtime=$row.time_post}]</font></td>
                                  <td width="45%"><div align="right"><a href="javascript:void(0)" onclick="quote({$row.id})"><img src="images/icon/quote.gif" width="61" height="19" border="0" align="absmiddle" /></a> ความเห็นที่ {$row.sequence}</div></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr>
                            <td height="200" valign="top">{if $row.image neq ''}
                              <table width="100%" border="0" cellspacing="0" cellpadding="5">
                                <tr>
                                  <td><div id="gallery">
                                      <div align="{if $row.image_alignment eq 0}left{elseif $row.image_alignment eq 1}center{else}right{/if}"><a href="modules/webboard/upload/{$row.image}"><img src="modules/webboard/upload/thumbs/{$row.image}" border="0" class="image" /></a><a href="modules/webboard/upload/{$row.image}"><br />
                                      <img src="images/icon/zoom.gif" width="47" height="14" border="0" /></a></div>
                                    </div></td>
                                </tr>
                              </table>
                              {/if}{if $row.quote neq ''}{sStripslashes text=$row.quote}<br />
                              <br />
                              {/if}{sStripslashes text=$row.detail}</td>
                          </tr>
                          <tr>
                            <td valign="top">{sStripslashes text=$row.signature_1}</td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td valign="top">&nbsp;</td>
                      <td valign="top" bgcolor="#333333"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td>{if $row.id_1 gt 1}<b>UID:</b> {$row.id_1} <a href="memberProfile.php?id={$row.id_1}"><img src="images/icon/profile.gif" width="55" height="17" border="0" align="absmiddle" /></a>{/if}</td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            {/foreach}<br />
            {if $page_nav.all neq ''} <br />
            <table width="95%" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#FFFFFF">
              <tr>
                <td bgcolor="#1A1A1A"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                    <tr>
                      <td><div align="center">{if $page_nav.all != ''}<b>Pages:</b> {$page_nav.all}{/if}</div></td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <div align="center">{/if}<br />
            {sStripslashes text=$block.banner_center_middle_2}<br />
            </div>
            <div align="center"><font color="#000000"> <strong>ในการโพสตอบกระทู้ ท่านจะต้อง <a href="signin.php">LOGIN</a> ก่อนทุกครั้ง หรือ <a href="register.php" target="_blank">สมัครสมาชิกได้ที่น</a></strong><a href="register.php" target="_blank">ี่ </a></font>{if $session.member}<br />
            </div>
            <table width="95%" border="0" align="center" cellpadding="5" cellspacing="2" bgcolor="#FFFFFF">
              <tr>
                <td bgcolor="#1A1A1A"><form action="" method="post" enctype="multipart/form-data" name="formPost" id="formPost">
                    <table width="100%" border="0" cellpadding="8" cellspacing="0">
                      <tr>
                        <td width="20%"><div align="right">ชื่อผู้ลงความเห็น</div></td>
                        <td width="80%"><input name="poster_name" type="text" id="poster_name" value="{$vars.poster_name}" maxlength="50"{if $session.member.username neq ''} readonly="readonly"{/if} />
                          <font color="#FF0000">*</font></td>
                      </tr>
                      {if $error.poster_name}
                      <tr>
                        <td>&nbsp;</td>
                        <td><div class="ui-state-error" style="padding: 0 .7em;">
                            <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> <b>Alert:</b> กรุณากรอกชื่อด้วยครับ</p>
                          </div></td>
                      </tr>
                      {/if}
                      <tr>
                        <td width="20%"><div align="right">อีเมล์แอดเดรส</div></td>
                        <td><input name="poster_email" type="text" id="poster_email" value="{$vars.poster_email}" size="50" maxlength="50" /></td>
                      </tr>
                      <tr>
                        <td valign="bottom">&nbsp;</td>
                        <td><img src="images/icon/quote.gif" width="61" height="19" />
                          <input name="quote_no" type="text" id="quote_no" value="{$vars.quote_no}" size="2" maxlength="5" style="text-align:center" readonly="readonly" /></td>
                      </tr>
                      <tr>
                        <td valign="bottom">&nbsp;</td>
                        <td>{$oFCKeditor->Create()}</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td>{include file=emoticon.tpl}</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><input name="image_alignment" type="radio" value="0" />
                          จัดรูปชิดซ้าย
                          <input name="image_alignment" type="radio" value="1" checked="checked" />
                          จัดรูปกึ่งกลาง
                          <input name="image_alignment" type="radio" value="2" />
                          จัดรูปชิดขวา</td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><input type="file" name="image" id="image" /></td>
                      </tr>
                      {if $error.image_type}
                      <tr>
                        <td>&nbsp;</td>
                        <td><div class="ui-state-error" style="padding: 0 .7em;">
                            <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> <b>Alert:</b> กรุณาตรวจสอบประเภทของไฟล์ภาพ ควรเป็น jpg, gif, png เท่านั้น</p>
                          </div></td>
                      </tr>
                      {/if}
                      {if $error.image_size}
                      <tr>
                        <td>&nbsp;</td>
                        <td><div class="ui-state-error" style="padding: 0 .7em;">
                            <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> <b>Alert:</b> กรุณาตรวจสอบขนาดของไฟล์ภาพ ไม่เกิน 200 Kb</p>
                          </div></td>
                      </tr>
                      {/if}
                      <tr>
                        <td>&nbsp;</td>
                        <td>ขนาดรูปภาพไม่เกิน 200 kb สัดส่วนพอเหมาะคือ 640 x 480, 1024 x 748<br />
                          นามสกุลเป็น jpg, jpeg, gif, png<br />
                        </td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><img src="captcha.php" /></td>
                      </tr>
                      <tr>
                        <td><div align="right">รหัสยืนยัน</div></td>
                        <td><input name="phrase" type="text" id="phrase" size="10" maxlength="10" />
                          <font color="#FF0000">*</font></td>
                      </tr>
                      {if $error.phrase}
                      <tr>
                        <td>&nbsp;</td>
                        <td><div class="ui-state-error" style="padding: 0 .7em;">
                            <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span> <b>Alert:</b> กรุณาตรวจสอบรหัสยืนยัน</p>
                          </div></td>
                      </tr>
                      {/if}
                      <tr>
                        <td>&nbsp;</td>
                        <td><input name="Submit" type="submit" class="button" value="Submit" />
                          <input name="Submit" type="reset" class="button" id="Submit" value="Reset" />
                          <input name="id" type="hidden" id="id" value="{$vars.id}" />
                          <input name="form" type="hidden" id="form" value="submit" /></td>
                      </tr>
                    </table>
                  </form></td>
              </tr>
            </table>
            {/if}<br />
            <table width="100%" border="0" cellspacing="0" cellpadding="5">
              <tr>
                <td><div align="center">{sStripslashes text=$block.banner_center_bottom}</div></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td>{include file=footerbig.tpl}</td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>




Tag : PHP, MySQL







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2010-09-24 12:05:33 By : pkoaloy2005 View : 15815 Reply : 4
 

 

No. 1



โพสกระทู้ ( 74,058 )
บทความ ( 838 )

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

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

ขอสรุปและสั้น ๆ กว่านี้ จะได้อ่านแล้วเข้าใจ สามารถช่วยแก้ไขปัญหาได้น่ะครับ






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2010-09-24 12:17:36 By : webmaster
 


 

No. 2



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



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


คือโค๊ดที่ผมลงมาแสดง 2อันนะครับ เป็นโค๊ด ดึงข้อมูลในดาต้าเบสมาโชว์ครับ

แต่มันไม่โชว์ครับพี่
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2010-09-24 12:34:14 By : pkoaloy2005
 

 

No. 3



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

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

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

เอาเฉพาะคำสั่งที่แสดงมาดูก่อนนะครับ select
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2010-09-24 12:42:30 By : Dragons_first
 


 

No. 4

Guest


 Ils viennent au sein de presque les types, pour tout <a href="http://lancel.la-vallee-village.com/sac-agnes-b/">Agnès B en solde</a>personnalité. Ce dernier y en possède ludiques toutefois élastique qui a la faculté de Clip pour aus sac à échine des enfants mais aussi leur permettre relatives au conserver leur clé logement mitoyenne où celui-ci ne peut pas plus longtemps se trouver être perdu. En ce qui concerne le professionnel un ensemble de affaires, celui-ci ya présent, élégants avec la majorité des chaînes métalique important de <a href="http://lancel.la-vallee-village.com/longchamp/sac-de-voyage-longchamp/">Sac Longchamp soldes</a>platine avec un poele a cuivre laquelle ajoutent une atteint de style concernant aus porte-documents, uniquement ce puisse être d'entrer dans notre salle d'audience et aussi une salle relatives au réunion. Celui-ci ya même un ensemble de chaînes qui disposent de notre facette rugueux, look industriel mais aussi laquelle sait attaché concernant un casque relatives au moto.

Contre toute attente un grand nombre grand avantage <a href="http://lancel.la-vallee-village.com/sac-agnes-b/">Achetez Agnès B femme</a>via un rapport aux plans d'affaires ont se révèle être leur dimension relativement faible. Afin de cette raison, aus homme d'affaires a la faculté de toujours transporter aisément Achetez Agnès B femme pas cher en ligne des cartes relatives au visite avec quant à lui. C'est extrêmement bien surtout lorsque il y recevra toujours des circonstances où vous devriez donner à passer vos Lancel French Flair pas cher cartes et relatives au gagner aus client potentiel. Mais aussi malgré leur faible taille, notre carte se révèle être suffisante afin de contenir <a href="http://lancel.la-vallee-village.com/longchamp/sac-de-voyage-longchamp/">Sac de Voyage Longchamp</a>les renseignements importantes concernant un entreprise. Comme le fait uniquement il est primordial de garder concernant l'esprit par bilan aux informations uniquement vous mettez avec vos plans devraient être concernant jour et judicieuse. Évitez aussi de mettre abusivement d'informations dans un carte, puisque il a la faculté de potentiellement gêner un bénéficiare.Si vous vous intéressez à notre Lancel sac, entrez dans notre web-site par ici.<a href="http://lancel.la-vallee-village.com/">http://www.lancel.la-vallee-village.com</a>
แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2012-10-08 13:50:19 By : Sac de Voyage Longchamp
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
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 05
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 อัตราราคา คลิกที่นี่