{"id":2468,"date":"2018-06-18T17:03:38","date_gmt":"2018-06-18T10:03:38","guid":{"rendered":"http:\/\/devbanban.com\/?p=2468"},"modified":"2020-04-29T11:19:02","modified_gmt":"2020-04-29T04:19:02","slug":"%e0%b8%95%e0%b8%a2-phpmysqli-show-data-from-database-with-do-while-loop-foreach-loop","status":"publish","type":"post","link":"https:\/\/devbanban.com\/?p=2468","title":{"rendered":"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop"},"content":{"rendered":"<p>\u0e15\u0e22. <strong>php<\/strong>+<strong>mysqli<\/strong> : show data from <strong>database<\/strong> with <strong>do while loop<\/strong>, <strong>foreach loop<\/strong><br \/>\n<!--more--><br \/>\n<strong>\u0e04\u0e33\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e14\u0e39\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e19\u0e35\u0e49\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/strong>\u00a0<a href=\"http:\/\/marcuscode.com\/lang\/php\/loop-statements\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/marcuscode.com\/lang\/php\/loop-statements<\/a>\u00a0\u00a0\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e44\u0e14\u0e49\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p>\u0e21\u0e32\u0e14\u0e39\u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49 \u0e08\u0e30\u0e1e\u0e32\u0e17\u0e33\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 2 \u0e41\u0e1a\u0e1a\u0e14\u0e49\u0e27\u0e22\u0e01\u0e31\u0e19\u00a0 \u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e01\u0e31\u0e19\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u0e1f\u0e23\u0e35\u0e04\u0e2d\u0e23\u0e4c\u0e2a PHP+MySQLi+AdminLTE<\/strong><\/span><\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/4y2U5diTnPQ?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent&#038;listType=playlist&#038;list=PLEA4F1w-xYVadrcnedOqksEoOhh4gZfzO\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example Data\u00a0<\/strong><\/p>\n<pre class=\"lang:default decode:true \">-- phpMyAdmin SQL Dump\r\n-- version 4.8.0.1\r\n-- https:\/\/www.phpmyadmin.net\/\r\n--\r\n-- Host: 127.0.0.1\r\n-- Generation Time: Jun 18, 2018 at 11:48 AM\r\n-- Server version: 10.1.32-MariaDB\r\n-- PHP Version: 5.6.36\r\n\r\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\r\nSET AUTOCOMMIT = 0;\r\nSTART TRANSACTION;\r\nSET time_zone = \"+00:00\";\r\n\r\n\r\n\/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT *\/;\r\n\/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS *\/;\r\n\/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION *\/;\r\n\/*!40101 SET NAMES utf8mb4 *\/;\r\n\r\n--\r\n-- Database: `myweb`\r\n--\r\n\r\n-- --------------------------------------------------------\r\n\r\n--\r\n-- Table structure for table `tb_member`\r\n--\r\n\r\nCREATE TABLE `tb_member` (\r\n  `member_id` int(11) NOT NULL,\r\n  `username` varchar(100) NOT NULL,\r\n  `member_name` varchar(100) NOT NULL,\r\n  `member_lname` varchar(100) NOT NULL,\r\n  `email` varchar(100) NOT NULL\r\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\r\n\r\n--\r\n-- Dumping data for table `tb_member`\r\n--\r\n\r\nINSERT INTO `tb_member` (`member_id`, `username`, `member_name`, `member_lname`, `email`) VALUES\r\n(1, 'devbanban', 'devbanban', 'dotcom', 'devbanban@gmail.com'),\r\n(2, 'devbanban', 'devbanban', 'dotcom', 'devbanban@gmail.com'),\r\n(3, 'devbanban', 'devbanban', 'dotcom', 'devbanban@gmail.com'),\r\n(4, 'devbanban', 'devbanban', 'dotcom', 'devbanban@gmail.com');\r\n\r\n--\r\n-- Indexes for dumped tables\r\n--\r\n\r\n--\r\n-- Indexes for table `tb_member`\r\n--\r\nALTER TABLE `tb_member`\r\n  ADD PRIMARY KEY (`member_id`);\r\n\r\n--\r\n-- AUTO_INCREMENT for dumped tables\r\n--\r\n\r\n--\r\n-- AUTO_INCREMENT for table `tb_member`\r\n--\r\nALTER TABLE `tb_member`\r\n  MODIFY `member_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;\r\nCOMMIT;\r\n\r\n\/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT *\/;\r\n\/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS *\/;\r\n\/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION *\/;\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Connection database<\/strong> condb.php<\/p>\n<pre class=\"lang:default decode:true\">&lt;?php\r\n$con= mysqli_connect(\"localhost\",\"root\",\"passoword\",\"db_myweb\") or die(\"Error: \" . mysqli_error($con));\r\nmysqli_query($con, \"SET NAMES 'utf8' \");\r\n?&gt;<\/pre>\n<p><strong>Full code<\/strong>\u00a0 index.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;meta charset=\"UTF-8\"&gt;\r\n&lt;?php\r\n\/\/1. \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d database:\r\ninclude('condb.php');  \/\/\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a database \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e27\u0e49\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e49\u0e35\r\n\/\/2. query \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e15\u0e32\u0e23\u0e32\u0e07 tb_member:\r\n$query = \"SELECT * FROM tb_member ORDER BY member_id asc\" or die(\"Error:\" . mysqli_error());\r\n\/\/3.\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 query \u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e44\u0e27\u0e49\u0e43\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 result .\r\n$result = mysqli_query($con, $query);\r\n\/\/4 . \u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 query \u0e2d\u0e2d\u0e01\u0e21\u0e32 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e15\u0e32\u0e23\u0e32\u0e07\u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25:\r\necho '&lt;h4 align=\"center\"&gt; Display Data From database with  do\u2026while Loop&lt;\/h4&gt;';\r\necho \"&lt;table border='1' align='center' width='500'&gt;\";\r\n  \/\/\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\u0e15\u0e32\u0e23\u0e32\u0e07\r\n  echo \"\r\n  &lt;tr align='center' bgcolor='#CCCCCC'&gt;\r\n    &lt;td&gt;\u0e23\u0e2b\u0e31\u0e2a&lt;\/td&gt;\r\n    &lt;td&gt;Uername&lt;\/td&gt;\r\n    &lt;td&gt;\u0e0a\u0e37\u0e48\u0e2d&lt;\/td&gt;\r\n    &lt;td&gt;\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25&lt;\/td&gt;\r\n    &lt;td&gt;\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c&lt;\/td&gt;\r\n  &lt;\/tr&gt;\";\r\n  while($row = mysqli_fetch_array($result)) {\r\n  echo \"&lt;tr&gt;\";\r\n    echo \"&lt;td&gt;\" .$row[\"member_id\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"username\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"member_name\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"member_lname\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"email\"] .  \"&lt;\/td&gt; \";\r\n  echo \"&lt;\/tr&gt;\";\r\n  }\r\necho \"&lt;\/table&gt;\";\r\n\r\necho '&lt;hr\/&gt;';\r\necho '&lt;h4 align=\"center\"&gt; Display Data From database with foreach Loop &lt;\/h4&gt;';\r\necho \"&lt;table border='1' align='center' width='500'&gt;\";\r\n  echo \"\r\n  &lt;tr align='center' bgcolor='#CCCCCC'&gt;\r\n    &lt;td&gt;\u0e23\u0e2b\u0e31\u0e2a&lt;\/td&gt;\r\n    &lt;td&gt;Uername&lt;\/td&gt;\r\n    &lt;td&gt;\u0e0a\u0e37\u0e48\u0e2d&lt;\/td&gt;\r\n    &lt;td&gt;\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25&lt;\/td&gt;\r\n    &lt;td&gt;\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c&lt;\/td&gt;\r\n  &lt;\/tr&gt;\";\r\n  foreach( $result as $value ) {\r\n  echo \"&lt;tr&gt;\";\r\n    echo \"&lt;td&gt;\" .$value[\"member_id\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"username\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"member_name\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"member_lname\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"email\"] .  \"&lt;\/td&gt; \";\r\n  echo \"&lt;\/tr&gt;\";\r\n  }\r\necho \"&lt;\/table&gt;\";\r\n\/\/5. close connection\r\nmysqli_close($con);\r\n?&gt;<\/pre>\n<p><strong>Result\u00a0<\/strong><\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"lazy size-full wp-image-2469 aligncenter\" src=\"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/plugins\/wp-images-lazy-loading\/images\/grey.gif?resize=500%2C316&#038;ssl=1\" data-original=\"http:\/\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg\" alt=\"do while loop, foreach loop\" width=\"500\" height=\"316\" \/><noscript><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2469 aligncenter\" src=\"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?resize=500%2C316\" alt=\"do while loop, foreach loop\" width=\"500\" height=\"316\" srcset=\"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?w=500&amp;ssl=1 500w, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?resize=300%2C190&amp;ssl=1 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/noscript><\/p>\n<p><span style=\"color: #993300;\"><strong>\u0e41\u0e1a\u0e1a\u0e41\u0e22\u0e01\u0e44\u0e1f\u0e25\u0e4c\u0e41\u0e25\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e40\u0e27\u0e25\u0e32\u0e42\u0e2b\u0e25\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u00a0\u00a0<\/strong><\/span><\/p>\n<p><span style=\"color: #ff6600;\"><strong>\u0e41\u0e1a\u0e1a\u0e17\u0e35\u0e48 1 do while loop<\/strong><\/span><\/p>\n<pre class=\"lang:default decode:true \">&lt;meta charset=\"UTF-8\"&gt;\r\n&lt;?php\r\n\/\/1. \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d database:\r\ninclude('condb.php');  \/\/\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a database \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e27\u0e49\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e49\u0e35\r\n\/\/2. query \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e15\u0e32\u0e23\u0e32\u0e07 tb_member:\r\n$query = \"SELECT * FROM tb_member ORDER BY member_id asc\" or die(\"Error:\" . mysqli_error());\r\n\/\/3.\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 query \u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e44\u0e27\u0e49\u0e43\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 result .\r\n$result = mysqli_query($con, $query);\r\n\/\/4 . \u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 query \u0e2d\u0e2d\u0e01\u0e21\u0e32 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e15\u0e32\u0e23\u0e32\u0e07\u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25:\r\necho '&lt;h4 align=\"center\"&gt; Display Data From database with  do\u2026while Loop&lt;\/h4&gt;';\r\necho \"&lt;table border='1' align='center' width='500'&gt;\";\r\n  \/\/\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\u0e15\u0e32\u0e23\u0e32\u0e07\r\n  echo \"\r\n  &lt;tr align='center' bgcolor='#CCCCCC'&gt;\r\n    &lt;td&gt;\u0e23\u0e2b\u0e31\u0e2a&lt;\/td&gt;\r\n    &lt;td&gt;Uername&lt;\/td&gt;\r\n    &lt;td&gt;\u0e0a\u0e37\u0e48\u0e2d&lt;\/td&gt;\r\n    &lt;td&gt;\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25&lt;\/td&gt;\r\n    &lt;td&gt;\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c&lt;\/td&gt;\r\n  &lt;\/tr&gt;\";\r\n  while($row = mysqli_fetch_array($result)) {\r\n  echo \"&lt;tr&gt;\";\r\n    echo \"&lt;td&gt;\" .$row[\"member_id\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"username\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"member_name\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"member_lname\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$row[\"email\"] .  \"&lt;\/td&gt; \";\r\n  echo \"&lt;\/tr&gt;\";\r\n  }\r\necho \"&lt;\/table&gt;\";\r\nmysqli_close($con);\r\necho '&lt;hr\/&gt;';\r\n$time = microtime();\r\n$time = explode(' ', $time);\r\n$time = $time[1] + $time[0];\r\n$finish = $time;\r\n@$total_time = round(($finish - $start), 2);\r\necho 'Page generated in '.$total_time.' seconds.';\r\n?&gt;\r\n<\/pre>\n<p><span style=\"color: #ff6600;\"><strong>\u0e41\u0e1a\u0e1a\u0e17\u0e35\u0e48 2\u00a0 foreach loop<\/strong><\/span><\/p>\n<pre class=\"lang:default decode:true \">&lt;meta charset=\"UTF-8\"&gt;\r\n&lt;?php\r\n\/\/1. \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d database:\r\ninclude('condb.php');  \/\/\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a database \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e44\u0e27\u0e49\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e49\u0e35\r\n\/\/2. query \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e15\u0e32\u0e23\u0e32\u0e07 tb_member:\r\n$query = \"SELECT * FROM tb_member ORDER BY member_id asc\" or die(\"Error:\" . mysqli_error());\r\n\/\/3.\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 query \u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e44\u0e27\u0e49\u0e43\u0e19\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 result .\r\n$result = mysqli_query($con, $query);\r\n\/\/4 . \u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48 query \u0e2d\u0e2d\u0e01\u0e21\u0e32 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49\u0e15\u0e32\u0e23\u0e32\u0e07\u0e43\u0e19\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25:\r\necho '&lt;hr\/&gt;';\r\necho '&lt;h4 align=\"center\"&gt; Display Data From database with foreach Loop &lt;\/h4&gt;';\r\necho \"&lt;table border='1' align='center' width='500'&gt;\";\r\n  echo \"\r\n  &lt;tr align='center' bgcolor='#CCCCCC'&gt;\r\n    &lt;td&gt;\u0e23\u0e2b\u0e31\u0e2a&lt;\/td&gt;\r\n    &lt;td&gt;Uername&lt;\/td&gt;\r\n    &lt;td&gt;\u0e0a\u0e37\u0e48\u0e2d&lt;\/td&gt;\r\n    &lt;td&gt;\u0e19\u0e32\u0e21\u0e2a\u0e01\u0e38\u0e25&lt;\/td&gt;\r\n    &lt;td&gt;\u0e2d\u0e35\u0e40\u0e21\u0e25\u0e4c&lt;\/td&gt;\r\n  &lt;\/tr&gt;\";\r\n  foreach( $result as $value ) {\r\n  echo \"&lt;tr&gt;\";\r\n    echo \"&lt;td&gt;\" .$value[\"member_id\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"username\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"member_name\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"member_lname\"] .  \"&lt;\/td&gt; \";\r\n    echo \"&lt;td&gt;\" .$value[\"email\"] .  \"&lt;\/td&gt; \";\r\n  echo \"&lt;\/tr&gt;\";\r\n  }\r\necho \"&lt;\/table&gt;\";\r\n\/\/5. close connection\r\nmysqli_close($con);\r\necho '&lt;hr\/&gt;';\r\n$time = microtime();\r\n$time = explode(' ', $time);\r\n$time = $time[1] + $time[0];\r\n$finish = $time;\r\n@$total_time = round(($finish - $start), 2);\r\necho 'Page generated in '.$total_time.' seconds.';\r\n?&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #339966;\">\u0e2a\u0e23\u0e38\u0e1b\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19<br \/>\n\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07 do while &amp; foreach loop<\/span> : <\/strong>\u0e1b\u0e23\u0e30\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e20\u0e32\u0e1e\u0e01\u0e32\u0e23\u0e17\u0e33\u0e07\u0e32\u0e19\u0e01\u0e47\u0e44\u0e21\u0e48\u0e15\u0e48\u0e32\u0e07\u0e46\u0e01\u0e31\u0e19\u0e21\u0e32\u0e01\u0e04\u0e23\u0e31\u0e1a \u0e43\u0e0a\u0e49\u0e40\u0e27\u0e25\u0e32\u0e42\u0e2b\u0e25\u0e14\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e1e\u0e2d\u0e46\u0e01\u0e31\u0e19<\/p>\n<p><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19 google chrome, win 8 cpu i7 ram8gb hdd 5200rpm<\/strong><\/p>\n<p><strong><span style=\"color: #339966;\">do while :\u00a0\u00a0<\/span><\/strong><\/p>\n<ul>\n<li>\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48 1 = <span style=\"color: #ff0000;\">1529316870.28 seconds.<\/span><\/li>\n<li>\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48 2 =\u00a0<span style=\"color: #ff0000;\">1529316929 seconds.<\/span><\/li>\n<li>\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48 3 =\u00a0<span style=\"color: #ff0000;\">1529316939.55 seconds.<\/span><\/li>\n<\/ul>\n<p><strong><span style=\"color: #339966;\">foreach :\u00a0<\/span><\/strong><\/p>\n<ul>\n<li>\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48 1 = <span style=\"color: #ff0000;\">1529316969.61 seconds. <\/span><\/li>\n<li>\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48 2 =\u00a0<span style=\"color: #ff0000;\">1529316983.51 seconds.<\/span><\/li>\n<li>\u0e04\u0e23\u0e31\u0e49\u0e07\u0e17\u0e35\u0e48 3 =<span style=\"color: #ff0000;\">\u00a01529317003.43 seconds.<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #ff0000;\"><strong>\u0e14\u0e39\u0e41\u0e25\u0e49\u0e27\u0e01\u0e47\u0e43\u0e0a\u0e49\u0e40\u0e27\u0e25\u0e32\u0e1e\u0e2d\u0e46\u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2d\u0e30\u0e44\u0e23\u0e14\u0e35\u0e01\u0e27\u0e48\u0e32 *\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e19\u0e49\u0e2d\u0e22\u0e14\u0e49\u0e27\u0e22\u0e25\u0e30\u00a0\u00a0<\/strong><\/span><\/p>\n<p>\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e2b\u0e47\u0e19\u0e04\u0e27\u0e32\u0e21\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e16\u0e49\u0e32\u0e22\u0e31\u0e07\u0e43\u0e0a\u0e49\u0e41\u0e04\u0e48\u0e1e\u0e37\u0e49\u0e19\u0e46 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e19\u0e49\u0e2d\u0e22\u0e46 \u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e19\u0e49\u0e2d\u0e22\u0e46\u00a0 \u00a0\u0e40\u0e1e\u0e23\u0e32\u0e30\u0e09\u0e30\u0e19\u0e31\u0e49\u0e19\u0e04\u0e27\u0e23\u0e40\u0e23\u0e35\u0e22\u0e19\u0e23\u0e39\u0e49\u0e43\u0e2b\u0e49\u0e21\u0e32\u0e01\u0e46\u0e04\u0e23\u0e31\u0e1a \u0e08\u0e30\u0e21\u0e35\u0e1a\u0e32\u0e07\u0e01\u0e23\u0e13\u0e35\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e43\u0e0a\u0e49\u0e41\u0e1a\u0e1a\u0e44\u0e2b\u0e19\u0e41\u0e1a\u0e1a\u0e2b\u0e19\u0e36\u0e48\u0e07\u0e41\u0e19\u0e48\u0e19\u0e2d\u0e19\u0e04\u0e23\u0e31\u0e1a&#8230;<\/p>\n<p>ref : code count time page load :\u00a0https:\/\/www.phpjabbers.com\/measuring-php-page-load-time-php17.html<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u0e15\u0e30\u0e01\u0e23\u0e49\u0e32\u0e2a\u0e34\u0e19\u0e04\u0e49\u0e32 v1\u00a0 \u00a0v2\u00a0 V3<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>V1 = 1500 \u0e1a\u0e32\u0e17,\u00a0 V2=2,500 \u0e1a\u0e32\u0e17,\u00a0 \u00a0V3=3,500 \u0e1a\u0e32\u0e17<\/strong><\/span><\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/PsxN5lSEXfo?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent&#038;listType=playlist&#038;list=PLEA4F1w-xYVZX-h5l0xYldQCvZJR4kvft\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u0e23\u0e30\u0e1a\u0e1a\u0e22\u0e37\u0e21-\u0e04\u0e37\u0e19 \u0e40\u0e1a\u0e34\u0e01-\u0e08\u0e48\u0e32\u0e22\u0e1e\u0e31\u0e2a\u0e14\u0e38\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e2a\u0e33\u0e19\u0e31\u0e01\u0e07\u0e32\u0e19 6,000 \u0e1a\u0e32\u0e17\u00a0<\/strong><\/span><\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/Vc0iO66VHqk?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c 1,900 \u0e1a\u0e32\u0e17\u00a0<\/strong><\/span><\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/89yv4tb9yck?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u0e23\u0e27\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c<\/strong><\/span><\/p>\n<div class=\"jetpack-video-wrapper\"><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent&#038;listType=playlist&#038;list=PLEA4F1w-xYVa0P11woJOAPty8DSLemepR\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e23\u0e48\u0e27\u0e21\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19\u00a0\u0e04\u0e48\u0e32\u0e01\u0e32\u0e41\u0e1f\u00a0\u0e04\u0e48\u0e32\u0e42\u0e2e\u0e2a\u00a0devbanban.com \u0e41\u0e25\u0e30\u0e17\u0e35\u0e21\u0e07\u0e32\u0e19\u0e44\u0e14\u0e49\u0e17\u0e35\u0e48<\/strong><br \/>\n<strong>\u0e18\u0e19\u0e32\u0e04\u0e32\u0e23\u0e01\u0e23\u0e38\u0e07\u0e44\u0e17\u0e22 \u0e2a\u0e32\u0e02\u0e32\u0e40\u0e14\u0e2d\u0e30\u0e21\u0e2d\u0e25\u0e25\u0e4c\u0e17\u0e48\u0e32\u0e1e\u0e23\u0e30<\/strong><br \/>\n<strong>\u0e0a\u0e37\u0e48\u0e2d\u0e1a\u0e31\u0e0d\u0e0a\u0e35 \u0e19\u0e32\u0e22\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u00a0\u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35 \u00a0 \u0e40\u0e25\u0e02\u0e17\u0e35\u0e48 \u00a0878-0-17747-6<\/strong><br \/>\n<strong>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/strong><br \/>\n<strong>\u0e18\u0e19\u0e32\u0e04\u0e32\u0e23\u0e44\u0e17\u0e22\u0e1e\u0e32\u0e13\u0e34\u0e0a\u0e22\u0e4c \u0e2a\u0e32\u0e02\u0e32\u0e21\u0e2b\u0e32\u0e27\u0e34\u0e17\u0e22\u0e32\u0e25\u0e31\u0e22\u0e23\u0e32\u0e0a\u0e20\u0e31\u0e0f\u0e18\u0e19\u0e1a\u0e38\u0e23\u0e35<\/strong><br \/>\n<strong>\u0e0a\u0e37\u0e48\u0e2d\u0e1a\u0e31\u0e0d\u0e0a\u0e35 \u0e19\u0e32\u0e22\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u00a0\u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35 \u0e40\u0e25\u0e02\u0e17\u0e35\u0e48 406-359094-1<\/strong><br \/>\nfanpage :\u00a0<a style=\"font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\" href=\"https:\/\/www.facebook.com\/sornwebsites\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.facebook.com\/sornwebsites\/<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop<\/p>\n","protected":false},"author":1,"featured_media":2469,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[15],"tags":[196,188,195,16],"class_list":["post-2468","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-do-while-loop","tag-foreach","tag-loop","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]<\/title>\n<meta name=\"description\" content=\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devbanban.com\/?p=2468\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\" \/>\n<meta name=\"twitter:description\" content=\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468\"},\"author\":{\"name\":\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"headline\":\"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop\",\"datePublished\":\"2018-06-18T10:03:38+00:00\",\"dateModified\":\"2020-04-29T04:19:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468\"},\"wordCount\":183,\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/floop.jpg?fit=500%2C316&ssl=1\",\"keywords\":[\"do while loop\",\"foreach\",\"loop\",\"PHP\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468\",\"url\":\"https:\\\/\\\/devbanban.com\\\/?p=2468\",\"name\":\"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/floop.jpg?fit=500%2C316&ssl=1\",\"datePublished\":\"2018-06-18T10:03:38+00:00\",\"dateModified\":\"2020-04-29T04:19:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"description\":\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devbanban.com\\\/?p=2468\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/floop.jpg?fit=500%2C316&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/floop.jpg?fit=500%2C316&ssl=1\",\"width\":500,\"height\":316,\"caption\":\"do while loop, foreach loop\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2468#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devbanban.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#website\",\"url\":\"https:\\\/\\\/devbanban.com\\\/\",\"name\":\"\u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\",\"description\":\"\u0e2a\u0e2d\u0e19\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2d\u0e35\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e34\u0e23\u0e4c\u0e0a \u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19 \u0e23\u0e30\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u0e23\u0e30\u0e1a\u0e1a\u0e04\u0e25\u0e31\u0e07\u0e02\u0e49\u0e2d\u0e2a\u0e2d\u0e1a \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 \u0e23\u0e30\u0e1a\u0e1a\u0e27\u0e34\u0e08\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e23\u0e49\u0e2d\u0e21 Workshop PHP PDO MySQL \u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devbanban.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\",\"name\":\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\",\"description\":\"\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e19\u0e43\u0e08\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e41\u0e25\u0e30\u0e2d\u0e22\u0e32\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e1b\u0e31\u0e19\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e41\u0e25\u0e30\u0e2d\u0e37\u0e48\u0e19\u0e46\u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22...\",\"sameAs\":[\"http:\\\/\\\/devbanban.com\\\/\"],\"url\":\"https:\\\/\\\/devbanban.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devbanban.com\/?p=2468","twitter_card":"summary_large_image","twitter_title":"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","twitter_description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","twitter_image":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1","twitter_misc":{"Written by":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devbanban.com\/?p=2468#article","isPartOf":{"@id":"https:\/\/devbanban.com\/?p=2468"},"author":{"name":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"headline":"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop","datePublished":"2018-06-18T10:03:38+00:00","dateModified":"2020-04-29T04:19:02+00:00","mainEntityOfPage":{"@id":"https:\/\/devbanban.com\/?p=2468"},"wordCount":183,"image":{"@id":"https:\/\/devbanban.com\/?p=2468#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1","keywords":["do while loop","foreach","loop","PHP"],"articleSection":["PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/devbanban.com\/?p=2468","url":"https:\/\/devbanban.com\/?p=2468","name":"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","isPartOf":{"@id":"https:\/\/devbanban.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devbanban.com\/?p=2468#primaryimage"},"image":{"@id":"https:\/\/devbanban.com\/?p=2468#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1","datePublished":"2018-06-18T10:03:38+00:00","dateModified":"2020-04-29T04:19:02+00:00","author":{"@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","breadcrumb":{"@id":"https:\/\/devbanban.com\/?p=2468#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devbanban.com\/?p=2468"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devbanban.com\/?p=2468#primaryimage","url":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1","contentUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1","width":500,"height":316,"caption":"do while loop, foreach loop"},{"@type":"BreadcrumbList","@id":"https:\/\/devbanban.com\/?p=2468#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devbanban.com\/"},{"@type":"ListItem","position":2,"name":"\u0e15\u0e22. php+mysqli : show data from database with do while loop, foreach loop"}]},{"@type":"WebSite","@id":"https:\/\/devbanban.com\/#website","url":"https:\/\/devbanban.com\/","name":"\u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","description":"\u0e2a\u0e2d\u0e19\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2d\u0e35\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e34\u0e23\u0e4c\u0e0a \u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19 \u0e23\u0e30\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u0e23\u0e30\u0e1a\u0e1a\u0e04\u0e25\u0e31\u0e07\u0e02\u0e49\u0e2d\u0e2a\u0e2d\u0e1a \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 \u0e23\u0e30\u0e1a\u0e1a\u0e27\u0e34\u0e08\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e23\u0e49\u0e2d\u0e21 Workshop PHP PDO MySQL \u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devbanban.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3","name":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","description":"\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e19\u0e43\u0e08\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e41\u0e25\u0e30\u0e2d\u0e22\u0e32\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e1b\u0e31\u0e19\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e41\u0e25\u0e30\u0e2d\u0e37\u0e48\u0e19\u0e46\u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22...","sameAs":["http:\/\/devbanban.com\/"],"url":"https:\/\/devbanban.com\/?author=1"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/floop.jpg?fit=500%2C316&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6bpqQ-DO","jetpack-related-posts":[{"id":2479,"url":"https:\/\/devbanban.com\/?p=2479","url_meta":{"origin":2468,"position":0},"title":"\u0e15\u0e22. php+mysqli : Call Option Selected from database","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"19\/06\/2018","format":false,"excerpt":"\u0e15\u0e22. php+mysqli : Call Option Selected from database\u00a0 loop with foreach\u00a0\u00a0\u0e01\u0e32\u0e23\u0e19\u0e33\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e32\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19 select\/option \u0e41\u0e1a\u0e1a\u0e07\u0e48\u0e32\u0e22\u0e46 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 foreach \u0e43\u0e19\u0e01\u0e32\u0e23\u0e27\u0e19\u0e25\u0e39\u0e1b \u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19 https:\/\/www.youtube.com\/watch?v=0qzKu1CGknE example data *\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e14\u0e49\u0e27\u0e22\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a CREATE TABLE `tb_member` ( `member_id` int(11) NOT NULL, `username` varchar(100) NOT NULL, `member_name` varchar(100) NOT NULL, `member_lname` varchar(100) NOT NULL, `email` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"devbanban.com","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/catsssdevbanban.jpg?fit=500%2C304&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2054,"url":"https:\/\/devbanban.com\/?p=2054","url_meta":{"origin":2468,"position":1},"title":"\u0e15\u0e22. \u0e01\u0e23\u0e32\u0e1f+php+mysqli+json, fusioncharts+php+mysqli","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"01\/08\/2017","format":false,"excerpt":"\u0e15\u0e22. \u0e01\u0e23\u0e32\u0e1f+php+mysqli+json, fusioncharts+php+mysqli \u0e25\u0e2d\u0e07\u0e17\u0e33\u0e15\u0e32\u0e21\u0e41\u0e25\u0e30\u0e19\u0e33\u0e44\u0e1b\u0e1b\u0e23\u0e30\u0e22\u0e38\u0e01\u0e15\u0e4c\u0e43\u0e0a\u0e49\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e15\u0e32\u0e23\u0e32\u0e07 myproduct \u00a0 (\u0e2a\u0e48\u0e27\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e17\u0e35\u0e48\u0e19\u0e35\u0e49\u0e43\u0e0a\u0e49\u0e0a\u0e37\u0e48\u0e2d test \u00a0) -- phpMyAdmin SQL Dump -- version 4.5.1 -- http:\/\/www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Aug 01, 2017 at 05:29 AM -- Server version: 10.1.16-MariaDB -- PHP Version: 5.5.38 SET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\"; SET time_zone = \"+00:00\"; \/*!40101 SET\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2017\/08\/chart11.jpg?fit=500%2C303&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2396,"url":"https:\/\/devbanban.com\/?p=2396","url_meta":{"origin":2468,"position":2},"title":"php mysqli : \u0e15\u0e22. \u0e23\u0e30\u0e1a\u0e1a\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19, php multiple  insert  update with array and foreach","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"01\/05\/2018","format":false,"excerpt":"php+mysqli : \u0e15\u0e22. \u0e23\u0e30\u0e1a\u0e1a\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19, php multiple insert update with array and foreach \u0e15\u0e22. \u0e23\u0e30\u0e1a\u0e1a\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19, php multiple insert with array and foreach Workshop \u0e19\u0e35\u0e49\u0e44\u0e27\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e43\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e23\u0e30\u0e1a\u0e1a\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19\u0e2b\u0e23\u0e37\u0e2d\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e1a\u0e1a\u0e2a\u0e2d\u0e1a\u0e16\u0e32\u0e21\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c\u0e41\u0e1a\u0e1a\u0e07\u0e48\u0e32\u0e22\u0e46 \u0e14\u0e49\u0e27\u0e22\u0e20\u0e32\u0e29\u0e32 php \u0e42\u0e14\u0e22\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a array \u0e41\u0e1a\u0e1a\u0e07\u0e48\u0e32\u0e22\u0e46 \u0e41\u0e25\u0e30\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e2d\u0e32\u0e44\u0e1b\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e1c\u0e25\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19\u0e25\u0e07 db \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 foreach \u0e17\u0e33\u0e04\u0e27\u0e32\u0e21\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 Array\u00a0 \u0e15\u0e31\u0e49\u0e07\u0e41\u0e15\u0e48\u0e04\u0e25\u0e34\u0e1b\u0e17\u0e35\u0e48 51 \u0e40\u0e1b\u0e47\u0e19\u0e15\u0e49\u0e19\u0e44\u0e1b \u00a0 https:\/\/www.youtube.com\/playlist?list=PLEA4F1w-xYVadrcnedOqksEoOhh4gZfzO \u00a0 \u00a0 \u00a0 \u0e15\u0e32\u0e23\u0e32\u0e07 \u0e15\u0e22. CREATE TABLE `tbl_q` ( `qid` int(5)\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/05\/catsqq.jpg?fit=473%2C309&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":318,"url":"https:\/\/devbanban.com\/?p=318","url_meta":{"origin":2468,"position":3},"title":"Insert \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e1a\u0e1a Array, Multiple insert record php","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"13\/07\/2015","format":false,"excerpt":"\u0e43\u0e19 workshop \u0e19\u0e35\u0e49\u0e08\u0e30\u0e41\u0e19\u0e30\u0e19\u0e33\u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e1a\u0e1a Array \u0e42\u0e14\u0e22\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e25\u0e30\u0e2b\u0e25\u0e32\u0e22\u0e46\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e32\u0e21\u0e1f\u0e2d\u0e23\u0e4c\u0e21\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e36\u0e49\u0e19\u0e41\u0e1a\u0e1a\u0e07\u0e48\u0e32\u0e22\u0e46\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e0b\u0e36\u0e48\u0e07\u0e19\u0e48\u0e32\u0e08\u0e30\u0e21\u0e35\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e01\u0e31\u0e1a\u0e1c\u0e39\u0e49\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e28\u0e36\u0e01\u0e29\u0e32\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19 php \u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e15\u0e49\u0e19\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u00a0\u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e01\u0e31\u0e19\u0e40\u0e25\u0e22 \u0e23\u0e27\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19 php+mysqli \u00a0 \u0e2a\u0e2d\u0e19 CodeIgniter \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c \u00a0 \u0e2a\u0e2d\u0e19 CodeIgniter \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u00a0 \u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e07\u0e48\u0e32\u0e22\u0e46\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32 CREATE TABLE `insertmulti` ( `mid` int(5) NOT NULL auto_increment, `articles` varchar(100) NOT NULL, PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; \u00a0 \u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e44\u0e1f\u0e25\u0e4c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a database\u00a0 <?php $con= mysqli_connect(\"localhost\",\"root\",\"123\",\"myweb\") or\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"cats","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2015\/07\/cats.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3759,"url":"https:\/\/devbanban.com\/?p=3759","url_meta":{"origin":2468,"position":4},"title":"\u0e15\u0e22. \u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 auto number \u0e14\u0e49\u0e27\u0e22\u0e20\u0e32\u0e29\u0e32 PHP Mysqli \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"19\/10\/2020","format":false,"excerpt":"\u0e21\u0e32\u0e17\u0e14\u0e25\u0e2d\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07 auto number \u0e14\u0e49\u0e27\u0e22\u0e20\u0e32\u0e29\u0e32 PHP\u00a0 \u0e42\u0e14\u0e22\u0e44\u0e21\u0e48\u0e07\u0e49\u0e2d A_I (Auto Increment) \u0e08\u0e32\u0e01 Mysql .\u00a0 \u00a0\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e07\u0e48\u0e32\u0e22\u0e46 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e19\u0e33\u0e44\u0e1b\u0e43\u0e0a\u0e49\u0e44\u0e14\u0e49\u0e08\u0e23\u0e34\u0e07 \u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e01\u0e31\u0e19\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a **\u0e1f\u0e23\u0e35\u0e04\u0e25\u0e34\u0e1b\u0e1b\u0e23\u0e31\u0e1a\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19\u0e20\u0e32\u0e29\u0e32 PHP \u0e04\u0e25\u0e34\u0e01 \u0e15\u0e32\u0e23\u0e32\u0e07 *\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e25\u0e37\u0e21\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e48\u0e2d\u0e19\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e0a\u0e48\u0e19 workshop_bill CREATE TABLE `tbl_bill1` ( `bill_no` int(4) UNSIGNED ZEROFILL NOT NULL, `bill_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ALTER TABLE `tbl_bill1` ADD PRIMARY\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/10\/autonumphp.jpg?fit=700%2C394&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/10\/autonumphp.jpg?fit=700%2C394&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/10\/autonumphp.jpg?fit=700%2C394&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/10\/autonumphp.jpg?fit=700%2C394&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4031,"url":"https:\/\/devbanban.com\/?p=4031","url_meta":{"origin":2468,"position":5},"title":"PHP : \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d 2 \u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19, Connect 2 database on a single webpage","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"03\/06\/2021","format":false,"excerpt":"\u0e43\u0e19\u0e1a\u0e32\u0e07\u0e01\u0e23\u0e13\u0e35\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e17\u0e35\u0e48\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e41\u0e25\u0e30\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e32\u0e01\u0e01\u0e27\u0e48\u0e32 1 \u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e23\u0e30\u0e1a\u0e1a\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19 \u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19\u0e40\u0e23\u0e32\u0e21\u0e32\u0e1d\u0e36\u0e01\u0e17\u0e33 workshop \u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e1c\u0e37\u0e48\u0e2d\u0e44\u0e14\u0e49\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e2d\u0e19\u0e32\u0e04\u0e15 \u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e19\u0e23\u0e39\u0e49\u0e44\u0e27\u0e49\u0e01\u0e47\u0e44\u0e21\u0e48\u0e40\u0e2a\u0e35\u0e22\u0e2b\u0e32\u0e22\u0e04\u0e23\u0e31\u0e1a \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e04\u0e23\u0e17\u0e35\u0e48\u0e1e\u0e36\u0e48\u0e07\u0e1d\u0e36\u0e01\u0e20\u0e32\u0e29\u0e32\u00a0PHP\u00a0\u0e44\u0e1b\u0e14\u0e39\u0e04\u0e25\u0e34\u0e1b\u0e0a\u0e38\u0e14\u0e19\u0e35\u0e49\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e31\u0e1a *Basic PHP 100 \u0e04\u0e25\u0e34\u0e1b ++ \u0e21\u0e32\u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e17\u0e33 Workshop \u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a 1.import \u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 CREATE DATABASE IF NOT EXISTS `workshop_db001` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `workshop_db001`; -- -------------------------------------------------------- -- -- Table structure for table `tbl_test1` -- CREATE TABLE `tbl_test1` ( `id` int(11) NOT\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/06\/con2db.jpg?fit=800%2C524&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/06\/con2db.jpg?fit=800%2C524&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/06\/con2db.jpg?fit=800%2C524&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2021\/06\/con2db.jpg?fit=800%2C524&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2468"}],"version-history":[{"count":14,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2468\/revisions"}],"predecessor-version":[{"id":3406,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2468\/revisions\/3406"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/media\/2469"}],"wp:attachment":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}