User Profile

Collapse

Profile Sidebar

Collapse
helalreza
helalreza
Last Activity: May 20 '17, 05:44 AM
Joined: Apr 28 '16
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Code:
    <body>
    <input type="time" step="1" id="startTimeInput"  name="start_time" value=""><br>     <!--   write as like       02:31:55   -->
    <input  type="time" step="1" id="endTimeInput"  name="end_time" value=""><br>
    <button id="calcBtn">Seconds</button><br>
    <div
    ...
    See more | Go to post

    Leave a comment:


  • helalreza
    replied to Adding together time hh:mm:ss to a total
    in PHP
    Code:
    <body>
    <input type="time" step="1" id="startTimeInput"  name="start_time" value=""><br>     <!--   write as like       02:31:55   -->
    <input  type="time" step="1" id="endTimeInput"  name="end_time" value=""><br>
    <button id="calcBtn">Seconds</button><br>
    <div
    ...
    See more | Go to post

    Leave a comment:


  • Code:
    <body>
    <input type="time" step="1" id="startTimeInput"  name="start_time" value=""><br>     <!--   write as like       02:31:55   -->
    <input  type="time" step="1" id="endTimeInput"  name="end_time" value=""><br>
    <button id="calcBtn">Seconds</button><br>
    <div
    ...
    See more | Go to post

    Leave a comment:


  • How can I calculate duration in seconds for more rows from two times?

    Code:
    How can I calculate duration in seconds for more rows from two times?
    
    
    <!--Time calculation-->
    
    
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script>
    $(document).ready(function() {
     //this calculates values automatically
     sum();
     $("#start_time, #end_time").on("keydown
    ...
    See more | Go to post

  • when i submit my dynamic rows ( suppose add 3 rows) values then "sub_brand_name " s

    Code:
    when i submit my dynamic rows ( suppose add 3 rows) values then  "sub_brand_name "  save correctly and other fields save same values more time.
    how can I solve this problem?
    
    
    here is my code:
    
    
    
    <?php
    
    if (isset($_POST['title']) && sizeof($_POST['title']) > 0) {
        $title = array_map('trim', $_POST['title']);
        foreach($title as $title) {
    ...
    See more | Go to post

  • Code:
    your submit page
    
    
    
    <?php
    session_start();
    $date = $_SESSION['date'];             
    $channel_name = $_SESSION["channel_name"];?>
    
    <?php include("sql_conn.php");
    $num = $_POST['reza'];
    
    for($i>0;$i<=$num;$i++)
    {
    if(isset($_REQUEST["title$i"])){$title = $_REQUEST["title$i"];}
    if(isset($_REQUEST["start_time$i"])){$start_time
    ...
    See more | Go to post

    Leave a comment:


  • how can I fetch dynamic rows (drop down's database values) using ajax?

    My javaScript.
    Code:
    <script language="javascript" type="text/javascript">
    var i=0;
    function addRow(table1)
    {
    i++;
    frm.reza.value=i;
    
    var tbl = document.getElementById('table1');
    var lastRow = tbl.rows.length;
    var iteration = lastRow -1;
    var row = tbl.insertRow(lastRow);
    
    var firstCell = row.insertCell(0);
    var el = document.createElement('input');
    ...
    See more | Go to post

  • helalreza
    started a topic duration calculation
    in PHP

    duration calculation

    how can i calculate duration from different two times?...
    See more | Go to post

  • helalreza
    started a topic dynamic rows insert into database using php

    dynamic rows insert into database using php

    i have some dynamic rows, when i submit a single row submit into my database. how can i insert my dynamic all rows into database by submit?








    Code:
    entry_history.php    (page)
    
    
    
    
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    ...
    See more | Go to post
    Last edited by Rabbit; Apr 29 '16, 10:23 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Working...