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 > โหลดภาพ jpgraph ข้อความเป็นภาษาต่างดาว จะทำยังไงผมไม่ค่อยเข้าใจช่วยบอกผมหน่อย



 

โหลดภาพ jpgraph ข้อความเป็นภาษาต่างดาว จะทำยังไงผมไม่ค่อยเข้าใจช่วยบอกผมหน่อย

 



Topic : 112858



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



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




คือ ผมเขียนกราฟวงกลมโดยการดัดแปลงโค้ดนิดหน่อย ซึ่งส่วนของการแสดงผมก็ออกมาสมบูรณ์ไม่มีปัญหาอะไร

แต่ ส่วนของการโหลดรูปการนั้น จะโหลดเป็น.png .jpg หรือpdf นั้นเมื่อโหลดมาแล้วข้อความที่เป็นภาษาไทย

กลายเป็นภาษาด่างดาว
หมดเลย ผมจะแก้ยังไงดีครับ


1234รูปที่เกิดปัญหา

2345 รูปของเมนูดาวน์โหลด



Code
<!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>กราฟแสดงอุบัติเหตุ</title>
<style type="text/css">
.login {
	background-image: url(../images/LoginMember%20copy.png);
}
.style8 {
	color: #000000;
	font-weight: bold;
}
body {
	background-color: #CCC;
}
</style>

<script type="text/javascript" 
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> 
 <script src="http://code.highcharts.com/highcharts.js"></script> 
 <script src="http://code.highcharts.com/modules/exporting.js"></script> 
 <script> 
$(function () { 
 $('#container').highcharts({ 
 chart: { 
 plotBackgroundColor: null, 
 plotBorderWidth: null, 
 plotShadow: false 
 }, 
 title: { 
 text: 'กราฟแสดงรายการอุบัติเหตุในแต่ละ อำเภอ' 
 }, 
 tooltip: { 
 pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' 
 }, 
 plotOptions: { 
 pie: { 
 allowPointSelect: true, 
 cursor: 'pointer', 
 dataLabels: { 
 enabled: true, 
 color: '#000000', 
 connectorColor: '#000000', 
 format: '<b>{point.name}</b>: {point.percentage:.1f} %' 
 } 
 } 
 }, 
 series: [{ 
 type: 'pie', 
 name: 'service', 
 data: [ 
 <?php 
 //while($row=mysql_fetch_array($result)) { 
// $monthx = $row[month]; 
 //$valuex = $row[value]; 
 $a=$_POST['a'];
 $a1=$_POST['a1']+0;
 $b=$_POST['b'];
 $b1=$_POST['b1']+0;
 $c=$_POST['c'];
 $c1=$_POST['c1']+0;
 $d=$_POST['d'];
 $d1=$_POST['d1']+0;
  $e=$_POST['e'];
 $e1=$_POST['e1']+0;
  $f=$_POST['f'];
 $f1=$_POST['f1']+0;
  $g=$_POST['g'];
 $g1=$_POST['g1']+0;
  $h=$_POST['h'];
 $h1=$_POST['h1']+0;
  $j=$_POST['j'];
 $j1=$_POST['j1']+0;
  $k=$_POST['k'];
 $k1=$_POST['k1']+0;
  $l=$_POST['l'];
 $l1=$_POST['l1']+0;
  $m=$_POST['m'];
 $m1=$_POST['m1']+0;
  $n=$_POST['n'];
 $n1=$_POST['n1']+0;
  $o=$_POST['o'];
 $o1=$_POST['o1']+0;
  $p=$_POST['p'];
 $p1=$_POST['p1']+0;
  $q=$_POST['q'];
 $q1=$_POST['q1']+0;
  $r=$_POST['r'];
 $r1=$_POST['r1']+0;
  $s=$_POST['s'];
 $s1=$_POST['s1']+0;
  $t=$_POST['t'];
 $t1=$_POST['t1']+0;
  $u=$_POST['u'];
 $u1=$_POST['u1']+0;
  $v=$_POST['v'];
 $v1=$_POST['v1']+0;
  $w=$_POST['w'];
 $w1=$_POST['w1']+0;
  $x=$_POST['x'];
 $x1=$_POST['x1']+0;
$sss = "['".$a."',".$a1."],['". $b."',".$b1."],['". $c."',".$c1."],['". $d."',".$d1."],['". $e."',".$e1."],['". $f."',".$f1."],
['". $g."',".$g1."],['". $h."',".$h1."],['". $j."',".$j1."],['". $k."',".$k1."],['". $l."',".$l1."],['". $m."',".$m1."],['". $n."',".$n1."],['". $o."',".$o1."],['". $p."',".$p1."],['". $q."',".$q1."],['". $r."',".$r1."],['". $s."',".$s1."],['". $t."',".$t1."],['". $u."',".$u1."],['". $v."',".$v1."],['". $w."',".$w1."],['". $x."',".$x1."],"; 
 echo $sss; 
// } 
 ?> 
 ] 
 }] 
 }); 
}); 
 </script> 

</head>

<body>
<table width="1100" height="1033" border="0" align="center">
  <tr>
    <td height="140" colspan="4" align="center" valign="top"><img src="../images/Header.png" width="1100" height="200" /></td>
  </tr>
  <tr>
    <td height="46" colspan="4" align="center" valign="top" bgcolor="#FFFFFF"><img src="../images/p3.jpg" width="1100" height="50" usemap="#Map3" border="0" /></td>
  </tr>
  <tr>
    <td height="21" colspan="4" align="center" valign="top" bgcolor="#CCCCCC"><marquee direction="left">
      สวัสดีครับ....ยินดีต้อนรับสู่ มูลนิธิประชาร่วมใจ องค์กรสถานสาธารณกุศล...........&quot;ทุกชีวิตมีค่า เราปรารถนา ให้ปลอดภัย&quot;
    ...โทร.075-345500,075-318833  ตลอด 24 ชั่วโมง
    </marquee></td>
  </tr>
  <tr>
    <td width="209" height="231" align="left" valign="top" bgcolor="#FFFFFF"><table width="211" height="229" border="0">
      <tr>
        <td width="231" height="225" align="left" valign="top" class="login"><form name="form1" method="post" action="../member/checkmember.php">
        
        <table width="203" border="0">
          <tr>
            <td colspan="4">&nbsp;</td>
            <td width="18">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="4">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
            <td colspan="2"><span class="style8">Username :</span></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td colspan="5" align="center"><input type="text" name="Adm_logname" id="Adm_logname" /></td>
          </tr>
          <tr>
            <td colspan="2">&nbsp;</td>
            <td width="72"><strong>Password :</strong></td>
            <td width="75">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td colspan="5" align="center"><input type="password" name="Adm_pw" id="Adm_pw" /></td>
          </tr>
          <tr>
            <td height="32" colspan="2">&nbsp;</td>
            <td height="32" colspan="2" align="center"><input type="submit" name="Submit" value="Login" /></td>
            <td height="32">&nbsp;</td>
          </tr>
          <tr>
            <td width="8" height="23">&nbsp;</td>
            <td width="8">&nbsp;</td>
            <td height="23">&nbsp;</td>
            <td height="23">&nbsp;</td>
            <td height="23">&nbsp;</td>
            </tr>
          </table>	<div align="center"><? print"$code_error";?></div>
</form></td>
      </tr>
    </table></td>
    <td width="887" colspan="3" rowspan="3" align="center" valign="top" bgcolor="#FFFFFF"><table width="781" height="660" border="0">
      <tr>
        <td colspan="5" align="center">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="5" align="center" valign="top">        <div id="container" style="min-width: 480px; height: 480px; margin: 0 auto"></div> &nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="4" align="left" valign="top" bgcolor="#FFFFFF"><img src="../images/Menuข้างPeople.png" width="208" height="358" usemap="#Map4" border="0" /></td>
  </tr>
  <tr>
    <td align="center" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
</table>

<map name="Map" id="Map">
  <area shape="rect" coords="12,58,194,111" href="file:///C|/AppServ/www/register/placharumchai/index.php" />
  <area shape="rect" coords="16,184,190,231" href="file:///C|/AppServ/www/register/placharumchai/people/searchP.php" />
  <area shape="rect" coords="16,249,190,290" href="file:///C|/AppServ/www/register/placharumchai/people/STT.php" />
</map>

<map name="Map2" id="Map2">
  <area shape="rect" coords="4,4,208,37" href="file:///C|/AppServ/www/register/placharumchai/index.php" />
  <area shape="rect" coords="449,3,643,40" href="file:///C|/AppServ/www/register/placharumchai/people/searchP.php" />
  <area shape="rect" coords="666,4,871,40" href="file:///C|/AppServ/www/register/placharumchai/people/STT.php" />
</map>

<map name="Map3" id="Map3">
  <area shape="rect" coords="6,4,208,37" href="../index.php" />
  <area shape="rect" coords="225,2,430,38" href="about.php" />
  <area shape="rect" coords="447,4,650,37" href="searchP.php" />
  <area shape="rect" coords="667,3,871,36" href="STT.php" />
  <area shape="rect" coords="888,2,1086,37" href="contact1.php" />
</map>

<map name="Map4" id="Map4">
  <area shape="rect" coords="13,68,192,112" href="../index.php" />
  <area shape="rect" coords="14,121,194,168" href="about.php" />
  <area shape="rect" coords="11,178,191,232" href="searchP.php" />
  <area shape="rect" coords="8,241,196,288" href="STT.php" />
  <area shape="rect" coords="12,303,195,348" href="contact1.php" />
</map>
</body>
</html>




Tag : PHP, MySQL, HTML/CSS, JavaScript, Windows







Move To Hilight (Stock) 
Send To Friend.Bookmark.
Date : 2014-11-26 15:53:24 By : kawkitti View : 1123 Reply : 1
 

 

No. 1



โพสกระทู้ ( 2,249 )
บทความ ( 5 )

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

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

ต้องลองดูส่วนของ font ครับว่าได้โหลดเข้าไปหรือไม่

https://www.thaicreate.com/php/forum/061074.html

https://www.thaicreate.com/php/forum/105601.html

https://www.thaicreate.com/php/forum/093604.html






แสดงความคิดเห็นโดยอ้างถึง ความคิดเห็นนี้
Date : 2014-11-26 16:49:24 By : Manussawin
 

   

ค้นหาข้อมูล


   
 

แสดงความคิดเห็น
Re : โหลดภาพ jpgraph ข้อความเป็นภาษาต่างดาว จะทำยังไงผมไม่ค่อยเข้าใจช่วยบอกผมหน่อย
 
 
รายละเอียด
 
ตัวหนา ตัวเอียง ตัวขีดเส้นใต้ ตัวมีขีดกลาง| ตัวเรืองแสง ตัวมีเงา ตัวอักษรวิ่ง| จัดย่อหน้าอิสระ จัดย่อหน้าชิดซ้าย จัดย่อหน้ากึ่งกลาง จัดย่อหน้าชิดขวา| เส้นขวาง| ขนาดตัวอักษร แบบตัวอักษร
ใส่แฟลช ใส่รูป ใส่ไฮเปอร์ลิ้งค์ ใส่อีเมล์ ใส่ลิ้งค์ 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 อัตราราคา คลิกที่นี่