當前位置: 首頁>>代碼示例>>PHP>>正文


PHP num_param_url_encode函數代碼示例

本文整理匯總了PHP中num_param_url_encode函數的典型用法代碼示例。如果您正苦於以下問題:PHP num_param_url_encode函數的具體用法?PHP num_param_url_encode怎麽用?PHP num_param_url_encode使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了num_param_url_encode函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: save

 public function save()
 {
     $status_id = $this->position_ms_model->save();
     if ($status_id) {
         echo $status_id;
         redirect(admin_ms_site('position/retrieve/' . num_param_url_encode($status_id) . '/success'));
     } else {
         redirect(admin_ms_site('position/action_error'));
     }
 }
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:10,代碼來源:Position.php

示例2: save

 public function save()
 {
     $status_id = $this->image_progress_daily_report_tr_model->save();
     if ($status_id) {
         echo $status_id;
         redirect(admin_tr_site('imageprogressdailyreport/retrieve/' . num_param_url_encode($status_id) . '/success'));
     } else {
         redirect(admin_tr_site('imageprogressdailyreport/action_error'));
     }
 }
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:10,代碼來源:Imageprogressdailyreport.php

示例3: save

 public function save()
 {
     $status_id = $this->time_sheet_tr_model->save();
     if ($status_id) {
         echo $status_id;
         redirect(admin_tr_site('timesheet/retrieve/' . num_param_url_encode($status_id) . '/success'));
     } else {
         redirect(admin_tr_site('timesheet/action_error'));
     }
 }
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:10,代碼來源:Timesheet.php

示例4: save

 public function save()
 {
     $status_id = $this->employee_job_title_tr_model->save();
     if ($status_id) {
         echo $status_id;
         redirect(admin_tr_site('employeejobtitle/retrieve/' . num_param_url_encode($status_id) . '/success'));
     } else {
         redirect(admin_tr_site('employeejobtitle/action_error'));
     }
 }
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:10,代碼來源:Employeejobtitle.php

示例5: save

 public function save()
 {
     $status_id = $this->address_tr_model->save();
     $this->project_ms_model->setAddr_id($status_id);
     $status_id = $this->project_ms_model->save();
     if ($status_id) {
         echo $status_id;
         redirect(admin_ms_site('project/retrieve/' . num_param_url_encode($status_id) . '/success'));
     } else {
         redirect(admin_ms_site('project/action_error'));
     }
 }
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:12,代碼來源:Project.php

示例6: admin_tr_site

    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_tr_site('department/save');
?>
" method="post">
                            <?php 
if (isset($dep_id)) {
    ?>
                                <input type="hidden" id="dep_id" name="dep_id" value="<?php 
    echo num_param_url_encode($dep_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> company_id </td>
                                        <td>
                                            <input class="form-control" placeholder="กรอกcompany_id" name="company_id" id="company_id" value="{company_id}" type="text" required="" autofocus=""></td>
                                    </tr>
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:30,代碼來源:department_form.php

示例7: admin_ms_site

    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('companyholidays/save');
?>
" method="post">
                            <?php 
if (isset($holiday_id)) {
    ?>
                                <input type="hidden" id="holiday_id" name="holiday_id" value="<?php 
    echo num_param_url_encode($holiday_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> <?php 
echo_line('company_holiday_date');
?>
  </td>
                                        <td>
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:31,代碼來源:companyholidays_form.php

示例8: admin_ms_site

                                            <a href="<?php 
    echo admin_ms_site('department/retrieve/' . num_param_url_encode($department->dep_id));
    ?>
">
                                                <button type="button" class="btn btn-success"> ดูข้อมูล </button>
                                            </a>       

                                            <a href="<?php 
    echo admin_ms_site('department/modify_form/' . num_param_url_encode($department->dep_id));
    ?>
">
                                                <button type="button" class="btn btn-primary"> แก้ไข </button>
                                            </a>

                                            <button id="<?php 
    echo num_param_url_encode($department->dep_id);
    ?>
" type="button" class="btn btn-danger del-data" data-toggle="modal" data-target="#myModal"> ลบ </button>                                    
                                        </div>
                                    </td>
                                </tr>
                            <?php 
}
?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:31,代碼來源:department_show_all.php

示例9: admin_ms_site

    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('position/save');
?>
" method="post">
                            <?php 
if (isset($position_id)) {
    ?>
                                <input type="hidden" id="position_id" name="position_id" value="<?php 
    echo num_param_url_encode($position_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> position_name </td>
                                        <td>
                                            <input class="form-control" placeholder="กรอกposition_name" name="position_name" id="position_name" value="{position_name}" type="text" required="" autofocus=""></td>
                                    </tr>
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:30,代碼來源:position_form.php

示例10: admin_tr_site

    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_tr_site('timesheet/save');
?>
" method="post">
                            <?php 
if (isset($time_sheet_id)) {
    ?>
                                <input type="hidden" id="time_sheet_id" name="time_sheet_id" value="<?php 
    echo num_param_url_encode($time_sheet_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> emp_id </td>
                                        <td>
                                            <input class="form-control" placeholder="กรอกemp_id" name="emp_id" id="emp_id" value="{emp_id}" type="text" required="" autofocus=""></td>
                                    </tr>
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:30,代碼來源:timesheet_form.php

示例11: admin_ms_site

                                            <a href="<?php 
    echo admin_ms_site('province/retrieve/' . num_param_url_encode($province->province_id));
    ?>
">
                                                <button type="button" class="btn btn-success"> ดูข้อมูล </button>
                                            </a>       

                                            <a href="<?php 
    echo admin_ms_site('province/modify_form/' . num_param_url_encode($province->province_id));
    ?>
">
                                                <button type="button" class="btn btn-primary"> แก้ไข </button>
                                            </a>

                                            <button id="<?php 
    echo num_param_url_encode($province->province_id);
    ?>
" type="button" class="btn btn-danger del-data" data-toggle="modal" data-target="#myModal"> ลบ </button>                                    
                                        </div>
                                    </td>
                                </tr>
                            <?php 
}
?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:31,代碼來源:province_show_all.php

示例12: admin_ms_site

                                            <a href="<?php 
    echo admin_ms_site('teammember/retrieve/' . num_param_url_encode($teammember->team_member_id));
    ?>
">
                                                <button type="button" class="btn btn-success"> ดูข้อมูล </button>
                                            </a>       

                                            <a href="<?php 
    echo admin_ms_site('teammember/modify_form/' . num_param_url_encode($teammember->team_member_id));
    ?>
">
                                                <button type="button" class="btn btn-primary"> แก้ไข </button>
                                            </a>

                                            <button id="<?php 
    echo num_param_url_encode($teammember->team_member_id);
    ?>
" type="button" class="btn btn-danger del-data" data-toggle="modal" data-target="#myModal"> ลบ </button>                                    
                                        </div>
                                    </td>
                                </tr>
                            <?php 
}
?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:31,代碼來源:teammember_show_all.php

示例13: admin_ms_site

                                            <a href="<?php 
    echo admin_ms_site('project/retrieve/' . num_param_url_encode($project->project_id));
    ?>
">
                                                <button type="button" class="btn btn-success"> ดูข้อมูล </button>
                                            </a>       

                                            <a href="<?php 
    echo admin_ms_site('project/modify_form/' . num_param_url_encode($project->project_id));
    ?>
">
                                                <button type="button" class="btn btn-primary"> แก้ไข </button>
                                            </a>

                                            <button id="<?php 
    echo num_param_url_encode($project->project_id);
    ?>
" type="button" class="btn btn-danger del-data" data-toggle="modal" data-target="#myModal"> ลบ </button>                                    
                                        </div>
                                    </td>
                                </tr>
                            <?php 
}
?>
                        </tbody>
                    </table>
                </div>
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:31,代碼來源:project_show_all.php

示例14: admin_tr_site

    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_tr_site('user/save');
?>
" method="post">
                            <?php 
if (isset($user_id)) {
    ?>
                                <input type="hidden" id="user_id" name="user_id" value="<?php 
    echo num_param_url_encode($user_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> employee_emp_id </td>
                                        <td>
                                            <input class="form-control" placeholder="กรอกemployee_emp_id" name="employee_emp_id" id="employee_emp_id" value="{employee_emp_id}" type="text" required="" autofocus=""></td>
                                    </tr>
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:30,代碼來源:user_form.php

示例15: admin_ms_site

    ?>
                    </div>
                <?php 
}
?>
                <div class="row">
                    <div class="col-lg-6">
                        <form role="form" action="<?php 
echo admin_ms_site('role/save');
?>
" method="post">
                            <?php 
if (isset($role_id)) {
    ?>
                                <input type="hidden" id="role_id" name="role_id" value="<?php 
    echo num_param_url_encode($role_id);
    ?>
">
                            <?php 
}
?>
  

                            <table class="table table-striped table-bordered table-hover" id="dataTables-example">
                                <tbody>
                                    <tr class="odd gradeA">
                                        <td align="center"> role_name </td>
                                        <td>
                                            <input class="form-control" placeholder="กรอกrole_name" name="role_name" id="role_name" value="{role_name}" type="text" required="" autofocus=""></td>
                                    </tr>
開發者ID:thanakrit-promsiri,項目名稱:employee_management,代碼行數:30,代碼來源:role_form.php


注:本文中的num_param_url_encode函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。