Add 4 hours to a variable

I need to add 4 hours to a variable. This is the variable:
< name = "cfparam application.startFacTime" default = "#Dateformat (now ()) #" / > "

I want to compare application.startFacTime + 4 hours now.

So now and the variable are at the same time, I want to see if adding 4 hours for the
variable will cause an hour hours 4 or older than now.

If that's true, I run a query and do some other stuff, then
reset the variable to Dateformat (now ())

Thanks for any help!

It works:

Thanks for your previous answer.

Tags: ColdFusion

Similar Questions

  • How can I add values beyond the truncation variable environment of path of 1024 bytes on a Windows 7 computer?

    I get an error when I try to update the path in the system variables on my laptop Windows 7, how to add values beyond the limit of 1024 bytes?    Is there another limit or can this solution go beyond the character limit?

    Hi Ronald,.

    Thanks for posting your query in Microsoft Community.

    I understand from your description, that you have problems with the update the path in the system variables. I'll be happy to help you

    1. what you trying to accomplish?

    2. What is the exact error message that you receive?

    3. are you referring to the limit of characters of the file name or the path to the file?

    248 characters for the maximum path length and 260 for the maximum length of file name.

    For more information, you can consult this article:

    File naming, paths and namespaces

    http://msdn.Microsoft.com/en-us/library/aa365247.aspx

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • Add the hours and minutes so far

    Hello
    I need to write a function that has two input parameters.
    Parameter1 = > Date data type, the value is in GMT.
    Parameter1 = > string value that indicates the time difference and it has the following format.

    GMT (sign) HH24Mi
    for the examples:
    GMT + 400, GMT-1400

    I need to add the offset (param2) to date (param1) and returned as output.

    I wrote a simple code but cannot make it work. I would like to know if there is another way to do it.
    create or replace
    Function         F_FUNCTION_NAME(dt date,timeZoneOffset   in   varchar2)
    return date
    As
        offset  varchar2(9);    
    Begin
        Offset := (To_Char(Substr(Substr(Timezoneoffset,4),0,Length(Substr(Timezoneoffset,4))-2)||':'||Substr(Substr(Timezoneoffset,4),-2)));
        return Dt + interval Offset hour to minute;
    End;
    Thank you.

    Hello

    Delete GMT and use the colon between the hours and minutes in this way:

    ALTER SESSION SET nls_date_format='DD-MON-YYYY HH24:MI:SS';
    
    SELECT SYSDATE
         , CAST (CAST (SYSDATE AS TIMESTAMP WITH TIME ZONE) AT TIME ZONE '+4:00' AS DATE) offset_date
      FROM DUAL;
    
    SYSDATE                OFFSET_DATE
    ---------------------- ----------------------
    06-MAR-2013 12:08:01   06-MAR-2013 15:08:01  
    

    Kind regards.
    Al

  • Add 8 hours in the DATETIME MySQL

    I use PHP and I need 8 hours adds a DATETIME column in my DB. I want to be able to create a time limit for a user to change an entry that they entered my PB.

    For example, I would hide a button [something like: show if datetime < = NOW()] keeps me updated page will once the time limit has expired...

    The code I have in my insertion behavior is as follows:

    . $_POST ['fld_vLOCKDATE'] = date ('Y-m-d ├a').

    and I am trying to create something like this:

    . $_POST ['fld_vLOCKDATE'] = date ("'Y-m-d ├a' + ' INTERVAL 8 HOURS").

    or

    . $_POST ['fld_vLOCKDATE'] = date ('Y-m-d entry + 8 HOURS').

    but I'm just record with 0000-00-00 00:00:00

    If I use the following code, and then the current time is displayed, not 8 hours in front:

    . $_POST ['fld_vLOCKDATE'] = date ("' Y-m-d entry, INTERVAL 8 HOURS").

    Any thoughts on what I am doing wrong? In fact, if you have ideas on another way, that I can attack him, then I would welcome those suggestions too. I think to use a timestamp, then: "saying show if TIMESTAMP < = 8 hours of old ' but my computer do not receive English and I obvoiulsy don't talk good computer!

    Thank you.

    You try to mix the functions PHP with MySQL ones. This should do the trick:

    $_POST ['fld_vLOCKDATE'] = date ('Y-m-d ├a', strtotime ('+ 8 hours'));

  • How to add days, hours, minutes and seconds to a date?

    Hello

    I have the following problem.
    Saw 4 integers D, H, M, and S (each of them can be negative) and a date Da, I want to add days D, H hours, M minutes and seconds of S date Da.
    For example, if
    Da= to_date('28/06/2011 14:50:35','dd/mm/yyyy HH24:mi:ss'), and D = 3, H = -2, M = 20 and S = -12, 
    This means that I want to add 3 days, -2 hours, 20 minutes and -12 seconds to the date Da, and the new date must be in the following date:
    to_date('01/07/2011 13:10:23','dd/mm/yyyy HH24:mi:ss') 
    Is it possible to write a query for this problem or should I use PL/SQL?

    Thank you.

    There is no need of PL/SQL

    SQL> alter session set nls_date_format = 'DD/MM/YYYY HH24:MI:SS';
    
    Session altered.
    
    SQL> var d number
    SQL> var h number
    SQL> var m number
    SQL> var s number
    SQL> exec :d := 3; :h := -2; :m := 20; :s := -12
    
    PL/SQL procedure successfully completed.
    
    SQL> select to_date('28/06/2011 14:50:35','dd/mm/yyyy HH24:mi:ss')
      2     + :d
      3     + (:h / 24)
      4     + (:m / 24 / 60)
      5     + (:s / 24 / 60 / 60)
      6  from dual;
    
    TO_DATE('28/06/2011
    -------------------
    01/07/2011 13:10:23
    
  • How to add an hour to function date

    Hai All


    This is my select statement


    Select to_number (TO_DATE (TO_CHAR(Intime,'DD-MON-YYYY') |)) » '||
    To_char (0815, '0000'), "MON-DD-YYYY HH24") - respondent
    ) * 24 * 60 dail_Att;


    I had another table called Train_mast, the fields are


    TRAINCODE VARCHAR2 (4)
    TRAINNO VARCHAR2 (10)
    TRAIN VARCHAR2 (30)
    DATE OF V_DATE
    MAJ VARCHAR2 (2)
    LATE_HRS VARCHAR2 (4)
    REMARKS VARCHAR2 (10)
    REFNO VARCHAR2 (10)
    UNITID VARCHAR2 (2)


    Here is when the train is late, I entered the late hours

    For example, if the train is late 30 so I need to add with the start time 0815 + 30 0845 IE and I need to subtract from the respondent


    How can I do this

    Concerning

    Srikkanth.M

    Hi Srikkanth,

    I have no watch in your query, but in general what I feel, it's that you want to add the number of minutes to a date.

    To add minutes to a date, you can do all of this-

    SYSDATE + 30 / (24 * 60) - this will add 30 minutes at present.
    SYSDATE + 15 / (24 * 60) - this will add 15 minutes at present.

    I hope this helps.

    Best regards

    Arif Khadas

  • I need to add an hour to a file in my Media Player

    I added a file to my Media Player. It doesn't have the length of the song. How can I add the length so I can burn it?

    Hi Supersonia77,

    1. What is the file format of the file that you added to Windows media player?

    2 are you facing problems while burning the files?

    You can try to add media information automatically or manually only if this file format is supported by Windows media player using the link below.

    Add or edit media information in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-edit-media-information-in-Windows-Media-Player

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can add a vraible to a variable name - I do?

    I have the following code:

    Can the following code:

    Globals.Data.Goal = globals.data.player1/5

    be converted to something like:

    Globals.Data.Goal = globals.data.player (globals.data.clk) / 5

    I want to replace the '1' with the variable globals.data.clk

    See you soon


    Shaun

    I think wghat you're looking for is...

    Globals.Data.Goal = globals.data ['player' + String (globals.data.clk)] / 5;

  • Unable to add object in flex using variables

    Hello

    I try to add the object to an arraycollection like this collection

    var var1:String = 'column1 ';

    arraycollection.addItem({var1:"test1"});)

    arraycollection.addItem({var1:"test2"});)

    I need the collection of data as a table

    Column1: test1

    Column1:test2

    However, by the above code, the collection of table stores the following value

    var1:Test1

    var1:test2

    In fact, I'll come to know the names of columns at run time and I have to map this collection of table on the data grid.

    Please advice.

    Best regards

    JAI Kishan Shah

    http://Bonjour.Manjil-groups.com/

    Hello

    Create an object instance and set the property.

    var var1:String = "Column1";
    var obj:Object = new Object();
    obj[var1] = "test1";
    arraycollection.addItem(obj);
    
  • Add formulas to the Substitution Variables

    Hi all

    I use the EPM 11 system. I have a classic planning application. I have my dataform, year during the period and the view of the column.

    I need to show the current year, next year and current month (derived from date system) on the form.

    To achieve this, I created three variable substitution in the EE * & CurYear, next & CurMonth.*

    Say for example if the date system is * 10 October 2009 * so CurYear show FY09 , next show FY10 and CurMonth show Oct.

    For now, I've hardcoded the values... but I'm trying to get through a way to get the above date system

    Can someone please advice how can I proceed to get variables to work...

    Kind regards.

    Mirka

    Hello

    How about something like

    SET year = FY % DATE: ~ 8, 2%
    SET months = % DATE: ~ 3, 2%

    *: Remove zero if it exists... *.
    Set /a month = % 1 month - %100

    Set monthstring=Jan@Feb@Mar@Apr@May@Jun@Jul@Aug@Sep@Oct@Nov@Dec

    for /f "tokens = % month % delims = @" % to ("echo.%monthstring%"), do)
    Set months = %% j
    *)*

    echo% % month
    echo% % year

    Say that the year is 2009, this would create a year = FY09
    And months must be converted into a month name

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to get back to save after update (IE add a url to the variable)

    I want to put a link to return to the page view record after update.  I followed the insrtuctio Dreamweaver one added after the url of the page in the update behaviors:

    ? recordID = <? PHP echo $row_ recordsetName [' fieldName '];? >

    However, the page does not load, but gives this error:

    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expected T_STRING or T_VARIABLE or T_NUM_STRING in C:\UwAmp\www\testmypms\update_spec_rx.php on line 77

    Here is the code in the page:

    <? php require_once('Connections/testmypms.php');? >

    <? PHP

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    $theValue = (! get_magic_quotes_gpc())? addslashes ($TheValue): $theValue;

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? « " ». doubleVal ($TheValue). "" "": "NULL";

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "updateSpecRx")) {}

    $updateSQL = sprintf ("UPDATE spec_rx SET spec_rx_date = %s FK_user_id = %s spec_rx_rsph = %s, spec_rx_rcyl = %s, spec_rx_raxis = %s, spec_rx_rhprism = %s, spec_rx_rhprismbase = %s, spec_rx_rvprism = %s, spec_rx_rvprismbase = %s, spec_rx_rnadd = %s, spec_rx_rnhprism = %s, spec_rx_rnhprismbase = %s, spec_rx_rnvprism = %s spec_rx_rnvprismbase = %s spec_rx_rintadd = %s spec_rx_rinthprism = %s, spec_rx_rinthprismbase = %s, spec_rx_rintvprism = %s, spec_rx_rintvprismbase = %s, spec_rx_lsph = %s, spec_rx_lcyl = %s, spec_rx_laxis = %s, spec_rx_lhprism = %s, spec_rx_lhprismbase = %s, spec_rx_lvprism = %s, spec_rx_lvprismbase = %s, spec_rx_lintadd = %s, spec_rx_linthprism = %s, spec_rx_linthprismbase = %s spec_rx_lintvprism = %s spec_rx_lintvprismbase = %s spec_rx_lnadd = %s, spec_rx_lnhprism = %s, spec_rx_lnhprismbase = %s, spec_rx_lnvprism = %s spec_rx_lnvprismbase = %s ext_rx = %s spec_rx_id = %s WHERE',

    GetSQLValueString ($_POST ['rHprism'], 'day'),

    GetSQLValueString ($_POST ["userID"], "int").

    GetSQLValueString ($_POST ['rsph'], "double").

    GetSQLValueString ($_POST ['rcyl'], "double").

    GetSQLValueString ($_POST ['raxis'], "double").

    GetSQLValueString ($_POST ['rHprism'], "double").

    GetSQLValueString ($_POST ['rHprismbase'], "text").

    GetSQLValueString ($_POST ['rVprism'], "double").

    GetSQLValueString ($_POST ['rVprismbase'], "text").

    GetSQLValueString ($_POST ['rNradd'], "double").

    GetSQLValueString ($_POST ['rNrHprism'], "double").

    GetSQLValueString ($_POST ['rNrHprismbase'], "text").

    GetSQLValueString ($_POST ['rNrVprism'], "double").

    GetSQLValueString ($_POST ['rNrVprismbase'], "text").

    GetSQLValueString ($_POST ['rIntadd'], "double").

    GetSQLValueString ($_POST ['rIntHprism'], "double").

    GetSQLValueString ($_POST ['rIntHprismbase'], "text").

    GetSQLValueString ($_POST ['rIntVprism'], "double").

    GetSQLValueString ($_POST ['rIntVprismbase'], "text").

    GetSQLValueString ($_POST ['lsph'], "double").

    GetSQLValueString ($_POST ['lcyl'], "double").

    GetSQLValueString ($_POST ["'laxis"], "double").

    GetSQLValueString ($_POST ['lHprism'], "double").

    GetSQLValueString ($_POST ['lHprismbase'], "text").

    GetSQLValueString ($_POST ['lVprism'], "double").

    GetSQLValueString ($_POST ['lVprismbase'], "text").

    GetSQLValueString ($_POST ['lIntadd'], "double").

    GetSQLValueString ($_POST ['lIntHprism'], "double").

    GetSQLValueString ($_POST ['lIntHprismbase'], "text").

    GetSQLValueString ($_POST ['lIntVprism'], "double").

    GetSQLValueString ($_POST ['lIntVprismbase'], "text").

    GetSQLValueString ($_POST ['lNradd'], "double").

    GetSQLValueString ($_POST ['lNrHprism'], "double").

    GetSQLValueString ($_POST ['lNrHprismbase'], "text").

    GetSQLValueString ($_POST ['lNrVprism'], "double").

    GetSQLValueString ($_POST ['rNrVprismbase'], "text").

    GetSQLValueString (isset($_POST['extRx'])? ('true': ' ', 'definition', '1', '0').

    GetSQLValueString ($_POST ['SpecRxID'], "int"));

    @mysql_select_db ($database_testmypms, $testmypms);

    $Result1 = mysql_query ($updateSQL, $testmypms) or die (mysql_error ());

    $updateGoTo = "spec_rx4.php";

    If (isset {}

    $updateGoTo. = (strpos ($updateGoTo, '?'))? « & » : « ? » ;

    $updateGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $updateGoTo));

    }

    / * date_default_timezone_set('Europe/London');

    $date = strtotime($_POST['specRxDate']);

    $_POST ['specRxDate'] = date("Y-m-d",$date); */

    $currentPage = $_SERVER ['PHP_SELF'];

    $maxRows_spec_rx = 1;

    $pageNum_spec_rx = 0;

    If (isset($_GET['pageNum_spec_rx'])) {}

    $pageNum_spec_rx = $_GET ['pageNum_spec_rx'];

    }

    $startRow_spec_rx = $pageNum_spec_rx * $maxRows_spec_rx;

    $colname_spec_rx = "1";

    If (isset($_GET['spec_RxID'])) {}

    $colname_spec_rx = (get_magic_quotes_gpc())? $_GET ['spec_RxID']: addslashes($_GET['spec_RxID']);

    }

    @mysql_select_db ($database_testmypms, $testmypms);

    $query_spec_rx = sprintf ("SELECT demographics.px_id, demography. FK_title_id, demographics.firstname, demographics.surname, title.title, title.title_id, spec_rx.spec_rx_id, spec_rx. FK_px_id, DATE_FORMAT (spec_rx.spec_rx_date, ' % d-% m-% Y') as formatted_rx_date, spec_rx. FK_user_id, spec_rx.spec_rx_rsph, spec_rx.spec_rx_rcyl, spec_rx.spec_rx_raxis, spec_rx.spec_rx_rhprism, spec_rx.spec_rx_rhprismbase, spec_rx.spec_rx_rvprism, spec_rx.spec_rx_rvprismbase, spec_rx.spec_rx_rnadd, spec_rx.spec_rx_rnhprism, spec_rx.spec_rx_rnhprismbase, spec_rx.spec_rx_rnvprism, spec_rx.spec_rx_rnvprismbase, spec_rx.spec_rx_rintadd, spec_rx.spec_rx_rinthprism, spec_rx.spec_rx_rinthprismbase spec_rx.spec_rx_rintvprism, spec_rx.spec_rx_rintvprismbase, spec_rx.spec_rx_lsph, spec_rx.spec_rx_lcyl, spec_rx.spec_rx_laxis, spec_rx.spec_rx_lhprism, spec_rx.spec_rx_lhprismbase, spec_rx.spec_rx_lvprism, spec_rx.spec_rx_lvprismbase, spec_rx.spec_rx_lintadd, spec_rx.spec_rx_linthprism, spec_rx.spec_rx_linthprismbase, spec_rx.spec_rx_lintvprism, spec_rx.spec_rx_lintvprismbase, spec_rx.spec_rx_lnadd, spec_rx.spec_rx_lnhprism spec_rx.spec_rx_lnhprismbase, spec_rx.spec_rx_lnvprism, spec_rx.spec_rx_lnvprismbase, spec_rx.ext_rx FROM spec_rx, demographics, title WHERE spec_rx.spec_rx_id = %s AND spec_rx. FK_px_id = demographics.px_id AND demography. (FK_title_id = title.title_id", $colname_spec_rx);

    $query_limit_spec_rx = sprintf ("%s LIMIT %d, %d", $query_spec_rx, $startRow_spec_rx, $maxRows_spec_rx);

    $spec_rx = mysql_query ($query_limit_spec_rx, $testmypms) or die (mysql_error ());

    $row_spec_rx = mysql_fetch_assoc ($spec_rx);

    If (isset($_GET['totalRows_spec_rx'])) {}

    $totalRows_spec_rx = $_GET ['totalRows_spec_rx'];

    } else {}

    $all_spec_rx = mysql_query ($query_spec_rx);

    $totalRows_spec_rx = mysql_num_rows ($all_spec_rx);

    }

    $totalPages_spec_rx = ceil($totalRows_spec_rx/$maxRows_spec_rx)-1;

    @mysql_select_db ($database_testmypms, $testmypms);

    $query_users = "SELECT users.user_id, users.username FROM users";

    $users = mysql_query ($query_users, $testmypms) or die (mysql_error ());

    $row_users = mysql_fetch_assoc ($users);

    $totalRows_users = mysql_num_rows ($users);

    $queryString_spec_rx = "";

    If (! empty($_SERVER['QUERY_STRING'])) {}

    $params = explode ("&", $_SERVER ['QUERY_STRING']);

    $newParams = array();

    {foreach ($params as $param)

    If (stristr ($param, "pageNum_spec_rx") == false & &)

    stristr ($param, "totalRows_spec_rx") == false) {}

    return ($newParams, $param);

    }

    }

    If (count ($newParams)! = 0) {}

    $queryString_spec_rx = '& '. htmlentities (implode ("&", $newParams));

    }

    }

    $queryString_spec_rx = sprintf ("& totalRows_spec_rx = %d %s", $totalRows_spec_rx, $queryString_spec_rx);

    ? >

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 ">"

    < title > change Rx Spec < /title >

    < / head >

    < body >

    < p > modify Spec Rx < /p >

    < p > <? PHP echo $row_spec_rx ["px_id"];? > < / p >

    < p > <? PHP echo $row_spec_rx ['title'];? > <? PHP echo $row_spec_rx ["FirstName"];? > <? PHP echo $row_spec_rx ['name'];? > < / p >

    < form action = "<?" PHP echo $editFormAction;? ">" method = "POST" name = "updateSpecRx" id = "updateSpecRx" >

    < table border = "1" cellpadding = "5" cellspacing = "1" >

    < b >

    < td > < table >

    < td >

    < td > <? php date_default_timezone_set('Europe/London');? >

    < input name = "specRxDate" type = "text" id = "specRxDate" value = "<?" PHP echo $row_spec_rx ["formatted_rx_date"];? ">" size = "10" maxlength = "10" <? PHP echo "value ="'.date("d-m-Y"). "" » ' ; ? > > < table >

    < td > < input name = "SpecRxID" type = "text" id = "SpecRxID" value = "<?" PHP echo $row_spec_rx ["spec_rx_id"];? ">" size = "2" maxlength = "2" > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < b >

    < td > < table >

    SPH < td > < table >

    Cyl < td > < table >

    Axis of < td > < table >

    HPrism < td > < table >

    HPrismBase < td > < table >

    VPrism < td > < table >

    VPrismBase < td > < table >

    NrAdd < td > < table >

    NrHPrism < td > < table >

    NrHPrismBase < td > < table >

    NrVPrism < td > < table >

    NrVPrismBase < td > < table >

    IntAdd < td > < table >

    IntHPrism < td > < table >

    IntHPrismBase < td > < table >

    IntVPrism < td > < table >

    IntVPrismBase < td > < table >

    < /tr >

    < b >

    < td > < table > R

    < td > < input name = "rsph" type = "text" id = "rsph" value = "<?" PHP echo $row_spec_rx ["spec_rx_rsph"];? ">" size = "6" maxlength = "6" >

    < table >

    < td > < input name = "rcyl" type = "text" id = "rcyl" value = "<?" PHP echo $row_spec_rx ["spec_rx_rcyl"];? ">" size = "6" maxlength = "6" >

    < table >

    < td > < input name = "raxis" type = "text" id = "raxis" value = "<?" PHP echo $row_spec_rx ["spec_rx_raxis"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < input name = "rHprism" type = "text" id = "rHprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_rhprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "rHprismbase" id = "rHprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rhprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'OUT' <? PHP if (!) () strcmp ("OUT", $row_spec_rx ['spec_rx_rhprismbase']))) {echo "SELECTED" ;}? > > OUT </option >

    < option value = 'IN' <? PHP if (!) () strcmp ("IN", $row_spec_rx ['spec_rx_rhprismbase']))) {echo "SELECTED" ;}? > > IN </option >

    < / select > < table >

    < td > < input name = "rVprism" type = "text" id = "rVprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_rvprism"];? ">" Size = "5" maxlength = "5" >

    < table >

    < td > < select name = "rVprismbase" id = "rVprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rnvprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'UP' <? PHP if (!) () strcmp ("UP", $row_spec_rx ['spec_rx_rnvprismbase']))) {echo "SELECTED" ;}? > > UP </option >

    < option value = "DN" <? PHP if (!) () strcmp ("DN", $row_spec_rx ['spec_rx_rnvprismbase']))) {echo "SELECTED" ;}? > > DN </option >

    < / select > < table >

    < td > < input name = "rNradd" type = "text" id = "rNradd" value = "<?" PHP echo $row_spec_rx ["spec_rx_rnadd"];? ">" size = "6" maxlength = "6" > < table >

    < td > < input name = "rNrHprism" type = "text" id = "rNrHprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_rnhprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "rNrHprismbase" id = "rNrHprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rnhprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'OUT' <? PHP if (!) () strcmp ("OUT", $row_spec_rx ['spec_rx_rnhprismbase']))) {echo "SELECTED" ;}? > > OUT </option >

    < option value = 'IN' <? PHP if (!) () strcmp ("IN", $row_spec_rx ['spec_rx_rnhprismbase']))) {echo "SELECTED" ;}? > > IN </option >

    < / select > < table >

    < td > < input name = "rNrVprism" type = "text" id = "rNrVprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_rnvprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "rNrVprismbase" id = "rNrVprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rnvprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'UP' <? PHP if (!) () strcmp ("UP", $row_spec_rx ['spec_rx_rnvprismbase']))) {echo "SELECTED" ;}? > > UP </option >

    < option value = "DN" <? PHP if (!) () strcmp ("DN", $row_spec_rx ['spec_rx_rnvprismbase']))) {echo "SELECTED" ;}? > > DN </option >

    < / select > < table >

    < td > < input name = "rIntadd" type = "text" id = "rIntadd" value = "<?" PHP echo $row_spec_rx ["spec_rx_rintadd"];? ">" size = "6" maxlength = "6" > < table >

    < td > < input name = "rIntHprism" type = "text" id = "rIntHprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_rinthprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "rIntHprismbase" id = "rIntHprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rinthprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'OUT' <? PHP if (!) () strcmp ("OUT", $row_spec_rx ['spec_rx_rinthprismbase']))) {echo "SELECTED" ;}? > > OUT </option >

    < option value = 'IN' <? PHP if (!) () strcmp ("IN", $row_spec_rx ['spec_rx_rinthprismbase']))) {echo "SELECTED" ;}? > > IN </option >

    < / select > < table >

    < td > < input name = "rIntVprism" type = "text" id = "rIntVprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_rintvprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "rIntVprismbase" id = "rIntVprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rintvprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'UP' <? PHP if (!) () strcmp ("UP", $row_spec_rx ['spec_rx_rintvprismbase']))) {echo "SELECTED" ;}? > > UP </option >

    < option value = "DN" <? PHP if (!) () strcmp ("DN", $row_spec_rx ['spec_rx_rintvprismbase']))) {echo "SELECTED" ;}? > > DN </option >

    < / select > < table >

    < /tr >

    < b >

    < td > < table > L

    < td > < input name = "lsph" type = "text" id = "lsph" value = "<?" PHP echo $row_spec_rx ["spec_rx_lsph"];? ">" size = "6" maxlength = "6" >

    < table >

    < td > < input name = "lcyl" type = "text" id = "lcyl" value = "<?" PHP echo $row_spec_rx ["spec_rx_lcyl"];? ">" size = "6" maxlength = "6" >

    < table >

    < td > < input name = "laxis" type = "text" id = "laxis" value = "<?" PHP echo $row_spec_rx ["spec_rx_laxis"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < input name = "lHprism" type = "text" id = "lHprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_lhprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "lHprismbase" id = "lHprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_lhprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'OUT' <? PHP if (!) () strcmp ("OUT", $row_spec_rx ['spec_rx_lhprismbase']))) {echo "SELECTED" ;}? > > OUT </option >

    < option value = 'IN' <? PHP if (!) () strcmp ("IN", $row_spec_rx ['spec_rx_lhprismbase']))) {echo "SELECTED" ;}? > > IN </option >

    < / select > < table >

    < td > < input name = "lVprism" type = "text" id = "lVprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_lvprism"];? ">" Size = "5" maxlength = "5" >

    < table >

    < td > < select name = "lVprismbase" id = "lVprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_rvprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'UP' <? PHP if (!) () strcmp ("UP", $row_spec_rx ['spec_rx_rvprismbase']))) {echo "SELECTED" ;}? > > UP </option >

    < option value = "DN" <? PHP if (!) () strcmp ("DN", $row_spec_rx ['spec_rx_rvprismbase']))) {echo "SELECTED" ;}? > > DN </option >

    < / select > < table >

    < td > < input name = "lNradd" type = "text" id = "lNradd" value = "<?" PHP echo $row_spec_rx ["spec_rx_lnadd"];? ">" size = "6" maxlength = "6" > < table >

    < td > < input name = "lNrHprism" type = "text" id = "lNrHprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_lnhprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "lNrHprismbase" id = "lNrHprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_lnhprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'OUT' <? PHP if (!) () strcmp ("OUT", $row_spec_rx ['spec_rx_lnhprismbase']))) {echo "SELECTED" ;}? > > OUT </option >

    < option value = 'IN' <? PHP if (!) () strcmp ("IN", $row_spec_rx ['spec_rx_lnhprismbase']))) {echo "SELECTED" ;}? > > IN </option >

    < / select > < table >

    < td > < input name = "lNrVprism" type = "text" id = "lNrVprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_lnvprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "rNrVprismbase" id = "rNrVprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_lnvprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'UP' <? PHP if (!) () strcmp ("UP", $row_spec_rx ['spec_rx_lnvprismbase']))) {echo "SELECTED" ;}? > > UP </option >

    < option value = "DN" <? PHP if (!) () strcmp ("DN", $row_spec_rx ['spec_rx_lnvprismbase']))) {echo "SELECTED" ;}? > > DN </option >

    < / select > < table >

    < td > < input name = "lIntadd" type = "text" id = "lIntadd" value = "<?" PHP echo $row_spec_rx ["spec_rx_lintadd"];? ">" size = "6" maxlength = "6" > < table >

    < td > < input name = "lIntHprism" type = "text" id = "lIntHprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_linthprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "lIntHprismbase" id = "lIntHprismbase" >

    < option value = "" > < / option >

    < option value = 'OUT' > ON < / option >

    < option value = 'IN' > IN < / option >

    < / select > < table >

    < td > < input name = "lIntVprism" type = "text" id = "lIntVprism" value = "<?" PHP echo $row_spec_rx ["spec_rx_lintvprism"];? ">" Size = "5" maxlength = "5" > < table >

    < td > < select name = "lIntVprismbase" id = "lIntVprismbase" >

    < option value = "" <? " PHP if (!) () strcmp ("", $row_spec_rx ['spec_rx_lintvprismbase']))) {echo "SELECTED" ;}? > > < / option >

    < option value = 'UP' <? PHP if (!) () strcmp ("UP", $row_spec_rx ['spec_rx_lintvprismbase']))) {echo "SELECTED" ;}? > > UP </option >

    < option value = "DN" <? PHP if (!) () strcmp ("DN", $row_spec_rx ['spec_rx_lintvprismbase']))) {echo "SELECTED" ;}? > > DN </option >

    < / select > < table >

    < /tr >

    < b >

    < td > < table >

    < td > < input name = "pxID" type = "text" id = "pxID" value = "<?" PHP echo $row_spec_rx ["px_id"];? ">" size = "3" maxlength = "3" > < table >

    < td colspan = "4" > < input name = "Update" type = "submit" id = "Update" value = "Update" > < table >

    < td > < select name = "userID" id = "userID" >

    <? PHP

    {}

    ? >

    < option value = "<?" PHP echo $row_users ['user_id']? ' > ' > <? PHP echo $row_users ["username"]? > < / option >

    <? PHP

    } While ($row_users = mysql_fetch_assoc ($users));

    $rows = mysql_num_rows ($users);

    If ($rows > 0) {}

    mysql_data_seek ($users, 0);

    $row_users = mysql_fetch_assoc ($users);

    }

    ? >

    < / select > < table >

    < td > external

    < input <? PHP if (!) ((strcmp($row_spec_rx['ext_rx'],1)))) {echo 'checked' ;}? > name = "extRx" type = "checkbox" id = "extRx" value = "checkbox" > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < td > < table >

    < /tr >

    < /table >

    < input type = "hidden" name = "MM_update" value = "updateSpecRx" >

    < / make >

    < p > < / p >

    < / body >

    < / html >

    <? PHP

    mysql_free_result ($spec_rx);

    mysql_free_result ($Users);

    ? >

    Thanks for any help

    Resolves this post:

    How to pass a URL parameter after update?

  • Add multiple objects to a variable

    I am trying to apply a fade in effect tween to 3 objects, it is difficult to explain, but here's what I

    function goDown2(e:MouseEvent):void {}

    var tweenfadeIn:Tween = new Tween (None.easeOut, 1, 0,.1, graphic_btn, "alpha", true);

    graphic_btn.visible = true;

    illustration_btn.visible = true;

    resume_btn.visible = true;

    about_btn.visible = false;

    contact_btn.visible = false;

    }

    I want to apply this interpolation of illustration_btn and resume_btn

    Create tweens plus two (different names) for both objects.

  • Add 3 user variables or more

    Hello

    I would like to add a few user set variables to create a new user that is variable

    userVtotal = userVone + userVtwo + userVthree

    An expression of advanced action will allow me to add 2 together, but what happens if I want to combine more? Is this possible?

    Thank you

    Ryan

    There was a long thread on that last week...

    You need two expressions:

    • Expression v_total = v_one + v_two
    • Expression v_total = v_total + v_three
  • Add + 1 to mark variable, showing a total increase in textbox

    Hello

    Trying without success to add + 1 to an outcome variable when the user clicks a button if a Word is displayed in a text box.

    Whenever they get this right, the var score should increment + 1: var score should go from 1 to 2, 2 or 3, etc.

    Instead, whenever the user successfully clicks the button, the score remains 1.

    Must be the way I set myself on the script, but no matter what I try, does not work.

    _aaaBtn.addEventListener(MouseEvent.CLICK, checker);
    function checker(event:MouseEvent){ 
    var targetHit:int;
    if (wordT.text == "3")
    {
           targetHit++;
           trace(targetHit);
           _scoreT.text = String(targetHit);          
    } 
    }
    

    There may be 2 or 3 times the word '3' is displayed, and each time that the user clicks on when it is displayed, the var (targetHit) partition is expected to increase by 1 and a text box displays the partition running (targetHit) should reflect the increasing value of the partition as a string. But this does not happen.

    Any help appreciated.

    you entered targetHit local check().  use:

    var targetHit:int;
    _aaaBtn.addEventListener(MouseEvent.CLICK, checker); function checker(event:MouseEvent){  if (wordT.text == "3") {        targetHit++;        trace(targetHit);        _scoreT.text = String(targetHit);           }  } 
    

    Any help appreciated.

  • Date conversion variable number

    I could do this using javascript, but I wanted to do this through if possible liquid so I can use it in more liquid logic. I want to reach adds a number of hours at a variable 'date' and have the date calculated, if I worked in PHP I would use something like a UNIX time however I can't find an equivalent to work in British Colombia.

    For example say I have today dateTime variable " 2015-10 - 01 T 13: 02:33" I want to add 1,000 hours to what is about 42 days putting us around November 11, I can't quite understand how to achieve this, if I were to do something like {{globals.site.dateNow |}} "" date: "YYYYMMDD" | {{more: days-}}, where days = {{1000 | dived_by: 24 | cleli}} this will work until we had to move from October to November, in this example I'd end up with a variable that was closest to the 43rd October which obviously isn't quite right.


    I think the key is in making the date as a total number of hours, or by converting the 1000 hours in a dateTime variable valid to add to the Start date however after bother for a few hours, while going through the Developer Referencedocumentation, I can't quite work as it should. Any help would be appreciated.

    Read this:

    Liquid data types

    That should help

Maybe you are looking for

  • Albums will not play without jumping through hoops!

    I have a very strange problem about the music app on my iPhone 5 C. Until two days earlier, when I pressed on the white button play on an icon of albums, he would play all the songs in an album. But he suddenly decided yesterday that when I press the

  • Do not receive any guest of the calendar

    My wife cannot send me guest her iPhone calendar 5. I have the iPhone 6. She receives my guest but I get anything of hers. Already tried to go to the site Web to iCloud and change the value of the invitation I've seen discussed on other forums. Did n

  • Problems in the strange display on my Satellite A205 driver

    My laptop came with 2 GB RAM and Geforce Go 7300 with a total memory of 399 MB. I bought this laptop about 4 months ago and had no problem with it until 2-3 weeks ago. I play World of Warcraft online game, and I know that this game requires no high p

  • HP 1315 all in one printer

    my printer keeps printing page after page, I want stop printing / and every time I turn on the printer prints a test page I want to stop that too.

  • HP4620 ALL-IN-ONE PRINTER

    I have not add eprint when I first set up. now do not know how to get the new code on HP4620 printer