بابه‌ت: کێشەى تومار کردن لە php (هاوکارى)

سلاو ....
ئەمەوێت پەڕگەى تۆمار کردن زیاد بکەم بەڵام نازانم بێ ئەوەى هەڵەکەم نیشان بدات و بڵى خانەیەکت بە جێ هێشتوە یەکسەر  ئەچێتەوە پەڕەى سەرەتا و هیچ گۆڕانکاریەک ڕو نادات ، لە phpmyadmin تۆمار کردنەکە ئەکەم لە پەڕگە نیشانم ئەدات و هیچ کێشەیەکم نى یە ، ئایە هیچ هەڵەیەکم هەیە لەم کۆدانە ؟
کۆدى تۆمار کردن

   <?php include_once("include/config.php"); ?>
           <?php


           $u_id             = @$_POST['u_id'];
           $u_dosya         = @$_POST['u_dosya'];
           $u_name     = @$_POST['u_name'];
           $u_nawnishan     = @$_POST['u_nawnishan'];
           $u_pla             = @$_POST['u_pla'];
           $u_qonax         = @$_POST['u_qonax'];
           $u_muchapesho             [email protected] $_POST['u_muchapesho'];
           $u_muchaesta             [email protected] $_POST['u_muchaesta'];
           $u_shaistaypisho         [email protected] $_POST['u_shaistaypisho'];
           $u_shaistaynwe         [email protected] $_POST['u_shaistaynwe'];
           $u_tebiny         [email protected] $_POST['u_tebiny'];
           $u_image = @$_FILES['u_image'] ['name'];
           $wena_tmp = @$_FILES['u_image'] ['tmp_name'];


           move_uploaded_file($wena_tmp,"image/$u_image");



            if(isset($_POST['tomarbwn'])){


              if (empty($u_dosya)) {
               echo '<div class="alert alert-danger" role="alert"> تکایە ژمارەى دۆسیەکەى بنووسە</div>';
             }elseif (empty($u_name)) {
               echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
             }elseif (empty($u_nawnishan)) {
                echo '<div class="alert alert-danger" role="alert">تکایە ناونیشان بونوسە</div>';
             }elseif (empty($u_pla)) {
                echo '<div class="alert alert-danger" role="alert">تکایە پلە بنووسە </div>';
             }elseif (empty($u_qonax)) {
                echo '<div class="alert alert-danger" role="alert">تکایە قۆناغ بنووسە</div>';
             }elseif (empty($u_muchapesho)) {
               echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
             }elseif (empty($u_muchaesta)) {
               echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
             }elseif (empty($u_shaistaypisho)) {
               echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
             }elseif (empty($u_shaistaynwe)) {
               echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
             }elseif (empty($u_tebiny)) {
               echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
               
             }
        
             else {
               $get_insert = ("INSERT INTO user(u_dosya, u_name, u_nawnishan, u_pla, u_qonax, u_muchapesho, u_muchaesta,u_shaistaypisho, u_shaistaynwe, u_tebiny, u_image)
                                                        VALUES('$u_dosya','$u_name', '$u_nawnishan', '$u_pla', '$u_qonax', '$u_muchapesho', ''$u_muchaesta', '$u_shaistaypisho', '$u_shaistaynwe', '$u_tebiny','$u_image')");
               $run_insert = mysqli_query($conect,$get_insert);
               if (isset($run_insert)) {
                header("Location: index.php");
               }
             }



               }
              ?>


            <div class="panel panel-default">
              <div class="panel-heading"><span style="color:#666; font-size:17px;"> <i class="fa fa-user"></i>  فۆرمی تۆمار بوون</span></div>
              <div class="panel-body">


                        <form class="form-horizontal" action="tomarbwn.php" method="post" enctype="multipart/form-data">

                          <div class="form-group">
                            <label for="u_dosya" class="col-sm-2 control-label"><span style="color:red">*</span> دۆسیە :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_dosya" class="form-control" id="inputPassword3" placeholder="تکایە ژمارەى دۆسیەى فەرمانبەر بنووسە ">
                            </div>
                          </div>

                          <div class="form-group">
                            <label for="u_name" class="col-sm-2 control-label"><span style="color:red">*</span> ناو  :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_name" class="form-control" id="inputPassword3" placeholder="ناوى سیانى بنووسە">
                            </div>
                          </div>

                          <div class="form-group">
                            <label for="u_nawnishan" class="col-sm-2 control-label"><span style="color:red">*</span> ناونیشان  :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_nawnishan" class="form-control" id="inputPassword3" placeholder="ناونیشانى فەرمانبەر بنوسە">
                            </div>
                          </div>
                          
                          <div class="form-group">
                              <label for="u_pla" class="col-sm-2 control-label"><span style=" color:red;">*</span> پلە  :</label>
                              <div class="col-sm-3">
                                <select name="u_pla" class="form-control"  style="font-size: 12px;">
                                   <option value="">پلە</option>
                                   <option value="١">١</option>
                                  <option value="٢">٢</option>
                                  <option value="٣">٣</option>
                                  <option value="٤">٤</option>
                                  <option value="٥">٥</option>
                                  <option value="٦">٦</option>
                                  <option value="٧">٧</option>
                                  <option value="٨">٨</option>
                                  <option value="٩">٩</option>
                                  <option value="١٠">١٠</option>              
                                </select>
                              </div>
                            </div>
                            
                             <div class="form-group">
                              <label for="u_qonax" class="col-sm-2 control-label"><span style=" color:red;">*</span> قۆناغ  :</label>
                              <div class="col-sm-3">
                                <select name="u_qonax" class="form-control"  style="font-size: 12px;">
                                   <option value="">قۆناغ</option>
                                   <option value="١">١</option>
                                  <option value="٢">٢</option>
                                  <option value="٣">٣</option>
                                  <option value="٤">٤</option>
                                  <option value="٥">٥</option>
                                  <option value="٦">٦</option>
                                  <option value="٧">٧</option>
                                  <option value="٨">٨</option>
                                  <option value="٩">٩</option>
                                  <option value="١٠">١٠</option>              
                                </select>
                              </div>
                            </div>    

                           <div class="form-group">
                            <label for="u_muchapesho" class="col-sm-2 control-label"><span style="color:red">*</span> مووچەى بنەڕەتى پێشوو :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_muchapesho" class="form-control" id="inputPassword3" placeholder="مووچەى بنەڕەتى پێشوو">
                            </div>
                          </div>
                           <div class="form-group">
                            <label for="u_muchaesta" class="col-sm-2 control-label"><span style="color:red">*</span> مووچەى بنەڕەتى نوێ  :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_muchaesta" class="form-control" id="inputPassword3" placeholder="مووچەى بنەڕەتى نوێ">
                            </div>
                          </div>
                           <div class="form-group">
                            <label for="u_shaistaypisho" class="col-sm-2 control-label"><span style="color:red">*</span> بەروارى شایستەى پێشوو  :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_shaistaypisho" class="form-control" id="inputPassword3" placeholder="بەروارى شایستەى پێشوو">
                            </div>
                          </div>
                           <div class="form-group">
                            <label for="u_shaistaynwe" class="col-sm-2 control-label"><span style="color:red">*</span> بەروارى شایستەى نوێ  :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_shaistaynwe" class="form-control" id="inputPassword3" placeholder="بەروارى شایستەى نوێ">
                            </div>
                          </div>
                           <div class="form-group">
                            <label for="u_tebiny" class="col-sm-2 control-label"><span style="color:red">*</span> تێبینى  :</label>
                            <div class="col-sm-5">
                              <input type="text" name="u_tebiny" class="form-control" id="inputPassword3" placeholder="تێبینى">
                            </div>
                          </div>
                            
                            <div class="form-group">
                            <label for="u_image" class="col-sm-2 control-label"><span style="color:red">*</span> وێنە :</label>
                            <div class="col-sm-3">
                                        <input type="file" name="u_image"  class="input-group date form-control"  placeholder="وێنە">
                              </div>
                          </div>
                            
                            <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-3">
                              <button type="submit" name="tomarbwn" class="btn btn-info btn-block"  ><i class="fa fa-pencil" aria-hidden="true"></i> تۆمار بوون</button>
                            </div>
                          </div>
                          </form>

                     </div>
                     </div>

کۆدى نیشان دانى لیتى تۆمار کراوان

           <?php include_once("include/config.php"); ?>
           <?php

           $u_id = intval(@$_GET['u_id']);
           if (isset($_GET['user']) == 'delete') {
            // $u_id = $_GET['u_id'];
             $delete_user = "DELETE FROM user WHERE u_id ='$u_id'";
                 $run_delete_user = mysqli_query($conect, $delete_user);
              if (isset($run_delete_user)) {
                   echo '<div class="alert alert-success" role="alert">بە سەر کەوتوی سرایەوە</div>';
              }
           }
            ?>



           <table class="table table-condensed table-hover table-bordered table-striped text-center">
               <thead >

                 <tr>
                   <th style="padding:12px 0;">ID</th>
                   <th style="padding:12px 0;">دۆسیە</th>
                   <th style="padding:12px 0;">ناوى فەرمانبەر</th>
                   <th style="padding:12px 0;">ناوىنیشانى کار</th>
                   <th style="padding:12px 0;">پلە</th>
                    <th style="padding:12px 0;">قۆناغ</th>
                    <th style="padding:12px 0;">مووچەى بنەڕەتى پێشوو</th>
                   <th style="padding:12px 0;">مووچەى بنەڕەتى نوێ</th>
                   <th style="padding:12px 0;">بەروارى شایستەى پێشوو</th>
                   <th style="padding:12px 0;">بەروارى شایستەى نوێ</th>
                   <th style="padding:12px 0;">تێبینى</th>
                   <th style="padding:12px 0;">وێنە</th>


                 </tr>

               </thead>

               <tbody>
                <?php


                  $per_page = 10;

                  if (isset($_GET['page'])) {
                  $page = $_GET['page'];

                  }
                  else {
                    $page = 1;

                  }


                  $start_from = ($page- 1) * $per_page;

                  $query = "SELECT * FROM user LIMIT $start_from,  $per_page";
                  $result = mysqli_query($conect, $query);

                 ////END PAGINATION


                $select = "SELECT * FROM user";
                $run_select = mysqli_query($conect,$select);
                $num = 1;
               // while ($row = mysqli_fetch_assoc($run_select)) {
                  while ($row = mysqli_fetch_assoc($result)) {
                  echo '
                  <tr>

                    <td>'.$num.'</td>
                    <td>'.$row['u_dosya'].'</td>
                    <td>'.$row['u_name'].'</td>
                    <td>'.$row['u_nawnishan'].'</td>
                    <td>'.$row['u_pla'].'</td>
                    <td>'.$row['u_qonax'].'</td>
                    <td>'.$row['u_muchapesho'].'</td>
                    <td>'.$row['u_muchaesta'].'</td>
                    <td>'.$row['u_shaistaypisho'].'</td>
                    <td>'.$row['u_shaistaynwe'].'</td>
                    <td>'.$row['u_tebiny'].'</td>
                     <td><img src="image/'.($row['u_image'] == '' ? '../image/no.png' : $row['u_image']).'" class="img-thumbnail" style="width:45px; height:35px;" /></td>

                    <td style="width:170px">
                    <a href="index.php?user=delete&u_id='.$row['u_id'].'" title=" سرینەوەی ئەندام" class="btn btn-danger btn-sm"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
                    <a href="edite.php?edite='.$row['u_id'].'" title="گۆرینی زانیاری" class="btn btn-success btn-sm"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span></a>
                     <a href="about.php?profile='.$row['u_id'].'" title="  پرۆفایلی من" class="btn btn-warning btn-sm" ><i class="fa fa-user" aria-hidden="true"></i></a>
                    </td>

                  </tr>
                  ';
                  $num++;
                }
                  ?>

              </tbody>
              </table>


    <?php
    $query =  "SELECT * FROM user";
    $result = mysqli_query($conect, $query);
    // count the totla recordes
    $total_records = mysqli_num_rows($result);

    $total_page = ceil($total_records / $per_page);

    echo '<ul style="margin: 0px 0;" class="pagination pull-left">';

    for ($i=1; $i <=$total_page ; $i++) {

     echo "<li> <a href='index.php?page=".$i."'>".$i."</a></li>";
    }

        echo '</ul>';

     ?>


               <div class="pull-right">
                    <a href="tomarbwn.php" class="btn btn-info" style="font-family:Droid Arabic Naskh;"><i class="fa fa-plus"></i> خۆت تۆماربکە</a>
                 </div>

سووپاس بۆ هاوکاریتان .

وه‌ڵام: کێشەى تومار کردن لە php (هاوکارى)

دەتوانی ڕیپۆرتکردنی هەڵەکان بۆ mysqli چاڵاک بکە بە زیادکردنی ئەم دێرە پێش ئەوەی پەیوەستی داتابەیس ببیت. بۆ پەڕگەی config.php

mysqli_report(MYSQLI_REPORT_ALL);

باشتر فەنکشی ئەپلۆد پاش چێکردنی ڕیکوێستەکە بێت واتە

move_uploaded_file($wena_tmp,"image/$u_image");

بخە دوای

        if(isset($_POST['tomarbwn'])){

کۆدەکانی SQL پێویست ناکا لە نێو دوو کەوانە دابن واتە گۆڕای $get_insert بگۆڕە بۆ ئەمە

$get_insert = "INSERT INTO user
(u_dosya, u_name, u_nawnishan, u_pla, u_qonax, u_muchapesho, u_muchaesta,u_shaistaypisho, u_shaistaynwe, u_tebiny, u_image) 
VALUES ('$u_dosya','$u_name', '$u_nawnishan', '$u_pla', '$u_qonax', '$u_muchapesho', '$u_muchaesta', '$u_shaistaypisho', '$u_shaistaynwe', '$u_tebiny','$u_image')";

ئەگەر کۆدەکانی SQL ش دابینەیت چاکتر تا بتوانین لای خۆشمان تێستی بکەین.

“Be sick of ur sickness! ”  ― Arash Dibazar-

وه‌ڵام: کێشەى تومار کردن لە php (هاوکارى)

ئەوەى sql برام .

-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 15, 2020 at 03:05 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.2

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @[email protected]@CHARACTER_SET_CLIENT */;
/*!40101 SET @[email protected]@CHARACTER_SET_RESULTS */;
/*!40101 SET @[email protected]@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `information1`
--

-- --------------------------------------------------------

--
-- Table structure for table `user`
--

CREATE TABLE `user` (
  `u_id` int(11) NOT NULL,
  `u_dosya` varchar(250) NOT NULL,
  `u_name` varchar(250) NOT NULL,
  `u_nawnishan` varchar(250) NOT NULL,
  `u_pla` varchar(250) NOT NULL,
  `u_qonax` varchar(250) NOT NULL,
  `u_muchapesho` varchar(250) NOT NULL,
  `u_muchaesta` varchar(250) NOT NULL,
  `u_shaistaypisho` varchar(250) NOT NULL,
  `u_shaistaynwe` varchar(250) NOT NULL,
  `u_tebiny` varchar(250) NOT NULL,
  `u_image` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `user`
--

INSERT INTO `user` (`u_id`, `u_dosya`, `u_name`, `u_nawnishan`, `u_pla`, `u_qonax`, `u_muchapesho`, `u_muchaesta`, `u_shaistaypisho`, `u_shaistaynwe`, `u_tebiny`, `u_image`) VALUES
(1, '4', 'hedi', 'barewabar', '1', '4', '500', '510', '1/1/2021', '1/1/2020', 'hedi', 'n');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`u_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
  MODIFY `u_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;

/*!40101 SET [email protected]_CHARACTER_SET_CLIENT */;
/*!40101 SET [email protected]_CHARACTER_SET_RESULTS */;
/*!40101 SET [email protected]_COLLATION_CONNECTION */;

وه‌ڵام: کێشەى تومار کردن لە php (هاوکارى)

چەند کێشەیەک لە کۆدەکان هەبوون.
١- خانەی u_id دەبێ auto_increment بێ کە چی لە داتابەیس وانیە تەیبلی ئێستات بسڕەوە و بۆ دروسکردنی تەیبلەکت ئەو کوێریە ڕەن بکە لە داتابەس.

CREATE TABLE `user` (
  `u_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `u_dosya` varchar(250) NOT NULL,
  `u_name` varchar(250) NOT NULL,
  `u_nawnishan` varchar(250) NOT NULL,
  `u_pla` varchar(250) NOT NULL,
  `u_qonax` varchar(250) NOT NULL,
  `u_muchapesho` varchar(250) NOT NULL,
  `u_muchaesta` varchar(250) NOT NULL,
  `u_shaistaypisho` varchar(250) NOT NULL,
  `u_shaistaynwe` varchar(250) NOT NULL,
  `u_tebiny` varchar(250) NOT NULL,
  `u_image` varchar(250) NOT NULL,
  PRIMARY KEY (`u_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;

٢- لە کۆدی SQLی ناو پەڕگەی تۆماربوون کێشەیەکت لە concatenation گۆڕاوەکان هەبوو. ئەو کۆدانە لە شوێنی کۆدەکانی tomarbwn.php دابنێ.

<?php 
include_once("include/config.php"); 
    
    if(isset($_POST['tomarbwn'])){
        $u_dosya         =  $_POST['u_dosya'];
        $u_name     =   $_POST['u_name'];
        $u_nawnishan     =  $_POST['u_nawnishan'];
        $u_pla             =    $_POST['u_pla'];
        $u_qonax         =  $_POST['u_qonax'];
        $u_muchapesho             =  $_POST['u_muchapesho'];
        $u_muchaesta             =   $_POST['u_muchaesta'];
        $u_shaistaypisho         =   $_POST['u_shaistaypisho'];
        $u_shaistaynwe         =     $_POST['u_shaistaynwe'];
        $u_tebiny         =  $_POST['u_tebiny'];
        $u_image =  $_FILES['u_image'] ['name'];
        $wena_tmp =     $_FILES['u_image'] ['tmp_name'];

        if (empty($u_dosya)) {
        echo '<div class="alert alert-danger" role="alert"> تکایە ژمارەى دۆسیەکەى بنووسە</div>';
        }elseif (empty($u_name)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
        }elseif (empty($u_nawnishan)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناونیشان بونوسە</div>';
        }elseif (empty($u_pla)) {
        echo '<div class="alert alert-danger" role="alert">تکایە پلە بنووسە </div>';
        }elseif (empty($u_qonax)) {
        echo '<div class="alert alert-danger" role="alert">تکایە قۆناغ بنووسە</div>';
        }elseif (empty($u_muchapesho)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
        }elseif (empty($u_muchaesta)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
        }elseif (empty($u_shaistaypisho)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
        }elseif (empty($u_shaistaynwe)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
        }elseif (empty($u_tebiny)) {
        echo '<div class="alert alert-danger" role="alert">تکایە ناوى سیانى بنووسە</div>';
        
        }
        else {       
            move_uploaded_file($wena_tmp,"image/$u_image");
            $get_insert = "INSERT INTO user(u_dosya, u_name, u_nawnishan, u_pla, u_qonax, u_muchapesho, u_muchaesta,u_shaistaypisho, u_shaistaynwe, u_tebiny, u_image)
            VALUES('$u_dosya','$u_name', '$u_nawnishan', '$u_pla', '$u_qonax', '$u_muchapesho', '$u_muchaesta', '$u_shaistaypisho', '$u_shaistaynwe', '$u_tebiny','$u_image')";    
        
            $run_insert = mysqli_query($conect,$get_insert);
            if (isset($run_insert)) {
                header("Location: index.php");
            }
        }
    }
    
?>

<div class="panel panel-default">
    <div class="panel-heading">
        <span style="color:#666; font-size:17px;">
            <i class="fa fa-user"></i>
            فۆرمی تۆمار بوون</span></div>
    <div class="panel-body">

        <form
            class="form-horizontal"
            action="tomarbwn.php"
            method="POST"
            enctype="multipart/form-data">

            <div class="form-group">
                <label for="u_dosya" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    دۆسیە :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_dosya"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="تکایە ژمارەى دۆسیەى فەرمانبەر بنووسە ">
                </div>
            </div>

            <div class="form-group">
                <label for="u_name" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    ناو :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_name"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="ناوى سیانى بنووسە">
                </div>
            </div>

            <div class="form-group">
                <label for="u_nawnishan" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    ناونیشان :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_nawnishan"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="ناونیشانى فەرمانبەر بنوسە">
                </div>
            </div>

            <div class="form-group">
                <label for="u_pla" class="col-sm-2 control-label">
                    <span style=" color:red;">*</span>
                    پلە :</label>
                <div class="col-sm-3">
                    <select name="u_pla" class="form-control" style="font-size: 12px;">
                        <option value="">پلە</option>
                        <option value="١">١</option>
                        <option value="٢">٢</option>
                        <option value="٣">٣</option>
                        <option value="٤">٤</option>
                        <option value="٥">٥</option>
                        <option value="٦">٦</option>
                        <option value="٧">٧</option>
                        <option value="٨">٨</option>
                        <option value="٩">٩</option>
                        <option value="١٠">١٠</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label for="u_qonax" class="col-sm-2 control-label">
                    <span style=" color:red;">*</span>
                    قۆناغ :</label>
                <div class="col-sm-3">
                    <select name="u_qonax" class="form-control" style="font-size: 12px;">
                        <option value="">قۆناغ</option>
                        <option value="١">١</option>
                        <option value="٢">٢</option>
                        <option value="٣">٣</option>
                        <option value="٤">٤</option>
                        <option value="٥">٥</option>
                        <option value="٦">٦</option>
                        <option value="٧">٧</option>
                        <option value="٨">٨</option>
                        <option value="٩">٩</option>
                        <option value="١٠">١٠</option>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label for="u_muchapesho" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    مووچەى بنەڕەتى پێشوو :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_muchapesho"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="مووچەى بنەڕەتى پێشوو">
                </div>
            </div>
            <div class="form-group">
                <label for="u_muchaesta" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    مووچەى بنەڕەتى نوێ :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_muchaesta"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="مووچەى بنەڕەتى نوێ">
                </div>
            </div>
            <div class="form-group">
                <label for="u_shaistaypisho" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    بەروارى شایستەى پێشوو :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_shaistaypisho"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="بەروارى شایستەى پێشوو">
                </div>
            </div>
            <div class="form-group">
                <label for="u_shaistaynwe" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    بەروارى شایستەى نوێ :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_shaistaynwe"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="بەروارى شایستەى نوێ">
                </div>
            </div>
            <div class="form-group">
                <label for="u_tebiny" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    تێبینى :</label>
                <div class="col-sm-5">
                    <input
                        type="text"
                        name="u_tebiny"
                        class="form-control"
                        id="inputPassword3"
                        placeholder="تێبینى">
                </div>
            </div>

            <div class="form-group">
                <label for="u_image" class="col-sm-2 control-label">
                    <span style="color:red">*</span>
                    وێنە :</label>
                <div class="col-sm-3">
                    <input
                        type="file"
                        name="u_image"
                        class="input-group date form-control"
                        placeholder="وێنە">
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-3">
                    <button type="submit" name="tomarbwn" class="btn btn-info btn-block">
                        <i class="fa fa-pencil" aria-hidden="true"></i>
                        تۆمار بوون</button>
                </div>
            </div>
        </form>

    </div>
</div>
“Be sick of ur sickness! ”  ― Arash Dibazar-

وه‌ڵام: کێشەى تومار کردن لە php (هاوکارى)

دەستەکانت خۆش بێت کاکە پشتیوان

پرسیارێکى تر ئەگەر مەجالت هەبێت
https://scontent.fbgw4-2.fna.fbcdn.net/v/t1.15752-9/117947401_223698509007559_7433223795521533849_n.png?_nc_cat=111&amp;_nc_sid=b96e70&amp;_nc_eui2=AeEcV05H_nPmudABHGqDu8DvjvX9LT4Vwe-O9f0tPhXB70N1UV8EIEOWxMQbpspyj8km7EOVmpeas1Kx-qMvixDo&amp;_nc_ohc=4Y_gq-KIveAAX9mVkNZ&amp;_nc_ht=scontent.fbgw4-2.fna&amp;oh=c5d51ec5f4d4e87f0734b79996ed86d0&amp;oe=5F5D27B8
چۆن وا بکەم بەروارى شایستەبونى ئێستا بە هۆى مانگەکانەوە نیشانمان بدات وتا چەند کەسێک مانگى ٥ جە نیشانمان بدات ، یان هەر مانگێک بێت کە خۆمان ئەمانەوێت نیشانمان بدات ،