Question simple php

I want to be able to create an if/else statement for the formatting of a date cell in an array of dynamic results.

This cell turns red if the returned date is less than a specified number of days plus the date today.

The problem is, I don't know how to subtract days to a date format.

$OldDateThreshold = (date("Y-m-d")-365); Where I am defining a threshold year. -It just returns a value of 1642?

I don't hate this PHP, MySQL date format!

RichardODreamweaver wrote:
> For some reason any, if I get a date e.g. 01/02/2007, it highlights ALL
> records, even after this date.
>
> If I go on 01/02/2006, it will highlight all records not updated<>
>
> It does not take into account the MMDD.
>
> Does mean more?

Yes, it makes more sense. Without doing a lot of testing, I'm
guessing that PHP will be treated on 01/02/2006 as a calculation and
produces the result 1003 (/ is the symbol of the division), or is it
treat both sides of your comparison as strings. In the latter case,.
even if the numbers are the same, MySQL returns the date with
Hyphens, not forward slashes, so you are not comparing like with like.

What I tested is the fact that strotime() accepts the two 2006/02/01
2006-02-01 dated valid formats and to create a Unix timestamp. So that the
solution is the same that I gave you before:



? >... Another thing... etc.

Computers can do a lot of calculations at lightning speed, but they are
simple creatures when it comes to logic. You must compare as with
as. You know it's a date. I know it's a date, but to a computer, it is
a bunch of numbers and symbols.

--
Adobe Community Expert David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Tags: Dreamweaver

Similar Questions

  • Simple PHP arrays not displaying after filling... newb question

    Hey guys,.

    If I have this simple text file, menu2.txt, which looks like this:

    1
    Test pizza One
    Loaded with all that test pizza goodness! Lots and lots of ones 1111!
    11.99
    3
    Test Threeza!
    Do you see what I did there? I added a three to pizza, hahaha, I am so punny.
    33.33
    2
    Test Pizza Two
    The same as one with an extra one, yum!
    22.99
    
    

    and a little bit of simple php that needs to fill a few tables with this information that looks like this:

    <?php
    $menu2=fopen("pizzaMenu2.txt","r") or exit("System Error! Unable to collect the test menu");
    $title2=array();
    $descreption2=array();
    $price2=array();
    $arraypos2=0;
    $tempstring2;
    
    
    //This loop does all of the READING and populating of variables
    while(!feof($menu2))
      {
                //First get the array possition
                                  $arraypos2 = fgets($menu2);
      
              //Then Put in Title in title2 array
                                  //populate the temparary string
                                  $title2[$arraypos2] = fgets($menu2);
      
              //Then Put in Description in descreption2 array
                                  //populate the temparary string
                                  $descreotion2[$arraypos2] = fgets($menu2);
      
              //Finaly Put in Price in price2 array
                                  //populate the temparary string
                                  $price2[$arraypos2] = fgets($menu2);
    
    
      }
      //End of reading loop
      
     $arraypos2=1;
     while($arraypos2 <=3){
                                  echo $title2[$arraypos2];
                                  echo "<br />";
                                  echo $descreotion2[$arraypos2];
                                  echo "<br />";
                                  echo $price2[$arraypos2];
                                  echo "<br />";
                                  $arraypos2++; 
     }
       
    fclose($menu2);
    ?>
    
    

    My problem is that the while loop bottem does not display anything but empty lines on my Web page (I.E. that line breaks work) and no text to their respective tables. However, if I coppy and past the same code from inside the low while loop at the bottem to top while loop then everything displays correctly. I understand something about how variables contain values in PHP, am I missing somehting? What's wrong with this code?

    (P.S. I know that using a matrix (or array of arrays) is better than using two tables, but I am simply play to understand here).

    Thank you guys. P.S. you can see the code does not not on my server of text here. It's at the top of the page. Thank you!

    The only thing I can imagine there was a difference in the data type of the needle of the table. When filling you read in a file.  As an integer is valid, it should be the case as such, but perhaps it is interpreted as a char type. You use a counter in your second loop.  GetType() allows to see if it is is mixed up.

  • question simple css

    Hello

    I'm stuck with a question simple css-

    I need to display some text below the other strings:

    Text1
    Text2
    Text3

    I use jspx:

    < af:panelGroupLayout layout = "vertical" >

    < af:panelGroupLayout >
    < af:outputText value = "text1" / >
    < / af:panelGroupLayout >

    < af:panelGroupLayout >
    < af:outputText value = "text2" / >
    < / af:panelGroupLayout >

    < af:panelGroupLayout >
    < af:outputText value = "Text3" / >
    < / af:panelGroupLayout >

    < / af:panelGroupLayout >


    well, I receive the channels displayed vertically.


    but I need them to the right of the screen-

    so I use the style class:

    {.textClass}
    float: right;
    }

    and adding in all three group layout in the hope that the three strings to shift right-

    < af:panelGroupLayout layout = "vertical" >

    < af:panelGroupLayout >
    < af:outputText value = "text1" styleClass = "textClass" / >
    < / af:panelGroupLayout >

    < af:panelGroupLayout >
    < af:outputText value = "text2" styleClass = "textClass" / >
    < / af:panelGroupLayout >

    < af:panelGroupLayout >
    < af:outputText value = "Text3" styleClass = "textClass" / >
    < / af:panelGroupLayout >

    < / af:panelGroupLayout >


    they go right, but they are now displayed on one line:

    text3text2text1


    what I wanted was-

    -------------------------text1
    -------------------------text2
    -------------------------text3


    Please suggest.

    Thank you.

    Why so complicated?

                
                    
                    
                    
                
    

    the round is played.

    Timo

  • A simple PHP Question

    Hey guys,.

    I learn some basic PHP to make a simple form, and I have a small question. I have these two test of the PHP, Form.php and acion.php files. What you enter in the form is then displayed via $_POST to action.php that gets displayed. Here are the test sites:

    http://christianstest.info/phptest/form.php

    http://christianstest.info/phptest/action.php

    And for two, verry simple code:

    Form.php

    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>PHP Form Test</title>
    </head>
    
    <body>
    <form action="action.php" method="post">
     <p>Your name: <input type="text" name="name" /></p>
     <p>Your age: <input type="text" name="age" /></p>
     <p><input type="submit" /></p>
    </form>
    
    </body>
    </html>
    

    and action.php


    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    Hi <?php echo htmlspecialchars($_POST['name']); ?>.
    You are <?php echo (int)$_POST['age']; ?> years old.
    </body>
    </html>
    

    Now I want to do is have action.php store data entered in Form.php so that someone could link directly to action.php and see what the end user concluded Form.php. Now, if you go directly to a non action.php caching it does nothing for the return of name and age. How can I get this data stick? If in fact, it is not a simple question, can you point me to a tutorial? Thank you!

    You'll want to republish this topic in the Dreamweaver forum:

    http://forums.Adobe.com/community/Dreamweaver?view=discussions

    Take care, Mike

  • Pretty simple Question of PHP/SQL

    I made a page where the user connects to something, but I want to keep having the same password as their user name. What is the best way to do it? Can I do it through dreamweaver or SQL? I guess an IF statement with the kill conditioon or something along those lines will work, I really don't want the values with the user name and password for repeated added to my database at all.

    Thanks for the help, sorry, it's Aussie a newbie question: P

    Geschenk wrote:
    > you can simply compare the field values submitted username & password using
    > an IF-ELSE statement, and if the password is username, tell him
    > something ;-) What s your server, PHP, ASP, CF model?

    It says PHP in the subject line, PHP is.

    If {($_POST)}
    {If ($_POST ['username'] == {$_POST ['password']})}
    $error = '

    You cannot use your username as password

    ';
    }
    else {}
    Insert here the code of behavior insert record server
    }
    }

    In the form itself:

    --
    Adobe Community Expert David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Simple PHP question

    Hi all

    This isn't a question of Dreamweaver, but a matter of php. Here is the code:

    <? PHP echo $row ["emailAddress"]? >

    I just want to create a link "mailto" for the database query "emailAddress".

    Any help would be great.

    Shane

    Thanks Murry as usual

    Shane

  • Newbie question - javascript - php HTML5 and HTTPS w

    Hi all

    Newbie question...

    I'm having a problem with browsers, mac and javascript...

    simple story:

    1. If I put the test on site NO SSL folder - everything works ok

    2 but if I put the same test on HTTPS site folder - MAC SAFARI gets / data displays ok but firefox MAC and Chrome don't receive data

    Q: why not? How do I fix this so work all browsers?

    ---

    CONFIGURE LIKE THIS...

    Page1.html

    Gets the data with this line...

    What was...

    $.get ('getdata.php', function (data, status) {})

    ... etc.

    also tried this (absolute ref)...

    $.get ('https://mysite.com/getdata.php', function (data, status) {})

    ... etc.

    and displays the data on the same page page1.html

    Safari for MAC = works but firefox and chrome do not display data HTTPS site but all work 3 over HTTPS no alternate test site. (using only this local demand = $.get ('getdata.php', function (data, status) {}))

    BTW: if I manually go to getdata.php he gets php data and display the data in json package very well

    Q: How can I test / solve this problem, so all 3 browsers work on HTTPS site?

    Curious to know why MAC SAFARI OS 10.10.4 was an error?

    There are differences in the way different browsers support SSL.

  • Question simple signatures!

    Hello team Cisco,

    I have a simple question for you to do. Why disable most of default signatures? Have no explanation? Why are obsolete? What signature should I allow and what should I disable?

    You could help me, please?

    Kind regards

    Rodrigo Alves

    My thoughts without order.

    set to disable by default signatures

    a. a few signatures are vulnerabilities that are very old. Signatures would be necessary only in rare cases. Affecting the default signature can save resources to the IPS.

    (b) the quality of a signature is perhaps not very high. If the signing is enabled, a large number of false positives generated may be creating frustration for the admin.

    I could go on, but I think you get the idea.

    What signatures need to be activated?

    Signatures that meet your environmental requirements must be enabled. If you are a shop all Windows, you don't need signatures Unix oriented. In addition, you must enable the signatures that match your organizations security policies.

    I would start with the signatures of what Cisco has enabled by default. Feel you comfortable alerts, false positives tune and address problems, allow more signatures.

  • can we ask question related php here?

    I was wondering if it would be OK to ask the related issue of php on this forum?  There is no category or tags related to issues of the sort, but given the few people displaying their question on learning Fireworks with php question?  What is the rule for this forum on this topic?

    PHP SOLUTIONS teaches by working through a series of projects. The methods of coding that powers teaches are excellent. Many tutorials leave out important, as aspects of security considerations, but the powers provide relatively complete solutions.

    PHP PROGRAMMING is more of a text book. You can read through or choose the different sections of the chapters.

    Then down the road there are advanced books like PHP OBJECTS, MODELS AND PRACTICES

    Of course, you must also learn SQL. There are big big tomes like SQL for MYSQL, but I think you can get by learning a lot of SQL through web tutorials that cover various topics, like you need to learn.

  • 3 command line questions simple esxi

    Hello
    I have 3 simple questions on the ESXi-shell commands

    1. How can I execute a command dd and gzip the results without storing the file somewhere?

    / tmp # dd if=/vmfs/devices/disks/mpx.vmhba1\:C0\:T0\:L0:1 of=/tmp/dd.dump bs = 1 M count = 20

    / tmp # gzip - c dd.dump > dump.gz

    instead of these 2 lines do it all in one without store dd.dump

    2. how created a list of all the vmx files in a data store without also listing the files whose name as vmx - blabla.vmdk vmx or *.vmxf
    the output must use full paths so I need something like this but without the false results

    find/vmfs/volumes/datastore1 / * | grep ".vmx" | grep - v '.vmxf' > vmx - files.list

    3. How can I grep all files in vmware*.log in a data store for a complex chain as "scsi0:0.filename ="redirect results in a file that lists the results like.

    / vmfs/volumes/datastore1/test/test. VMware.log: 2012-10 - 01 T 07: 19:00.120Z | VMX | Scsi0:0.fileName DICT = WIN02.vmdk

    / vmfs/volumes/datastore1/test2/test2. VMware.log: 2012-10 - T 02, 07: 19:03.120Z | VMX | DICT = test2.vmdk scsi0:0.fileName

    Thanks in advance

    3. you could xargs - find/path/to/vmfs /-name 'vmware*.log ' | XARGS grep-i chain

    I guess that's 4.1 - I'm still not sure if ESXi xargs

    HTH

    ~ Stephanie Sai

  • Question simple reversal...

    Hi guys... Simple question...

    I have 1 MC with buttonMode = true. There are 2 text fields that are nested inside the graph 1 button inside the MC. My question is that when I roll my mouse and my switch, the roll effect is gone if I roll over my text fields... the mouse is still inside the button image but the roll effect has gone... see below...

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

    |  TextField one |

    |  TextField b | <-button

    |                 |

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

    I hope that I explain myself well... when I roll over to textfield a or b... the effect for my button, the reversal went... ideas? Thank you...

    use:

    yourmc.mouseChildren = false;

  • Navigation question simple (I think)

    Hi - I've got a new Sansa Fuze 8 GB that I quite understand, but they have a small question. If I'm listening to a file (podcast, audiobook, etc.) and scroll to another "section", for example, parameters to check how much battery I have left it, the podcast playing appears in a small strip along the bottom. Is there a quick way to return to the file that plays. My old player had an option to go to playback in progress, but I don't see that in the "rocket". If I wait it goes back to reading podcast, but wonder if there is a way to jump to it on demand? Of course, maybe I should just learn to be more patient... TIA, Sally

    I guess that if you press the menu button twice it should return to the now playing screen.

  • Question simple signal...

    I am trying to hang a simple signal with no params... But I can't get my hands on the appropriate syntax!

    The example I'm looking at has the following syntax:

    class MyDataModel: public bb::cascades::GroupDataModel
    {
    Q_OBJECT
    
    Q_PROPERTY(QString myField READ myField WRITE setMyField
        NOTIFY myFieldChanged)
    ...
    
      void myFieldChanged(QString value);
    
      QString myField ();
    
    signals:
      void myFieldChanged(QString value);
    

    In QML, connect the signal by using the following:

      onMyFieldChanged:
      {
        // When the signal is fired.
        console.log("onMyFieldChanged()");
      }
    

    I would add two new signals, but the two signals do not need to read and write properties...

    signals:
      void dataFetchStart();
      void dataFetchEnd();
    

    What would the syntax required in the my*.h file... The following syntax does not cause the compiler throw high... but that I can't plug my signal in QML...

    Q_PROPERTY(NOTIFY dataFetchStart)
    Q_PROPERTY(NOTIFY dataFetchEnd)
    

    Just use:

    Q_SIGNAL dataFetchStart() etc. instead of Q_PROPERTY. The property is of values that you want to propagate to QML.

  • I hope that the question simple Analytic Functions

    Hi, we are on 10.2.0.4 under Red Hat Linux.

    I have a situation I don't know can be answered better with analytics, but I'm fighting to get the best solution.

    First of all defined data:

    CREATE TABLE POSITION_ASGN
    (THE VARCHAR2 (5) OF EMPLID NOT NULL)
    DATE OF ASOFDATE
    , ACT_POSN VARCHAR2 (5) not null
    , SUB_POSN VARCHAR2 (5) not null
    RPT_POSN VARCHAR2 (5) not null)
    ;
    INSERT INTO POSITION_ASGN
    VALUES (' EMP01', to_date('01-JAN-2013','dd-mon-yyyy'), '00065', '00065','00033 ' ")
    ;
    INSERT INTO POSITION_ASGN
    VALUES (' EMP01', to_date('01-FEB-2013','dd-mon-yyyy'), '00096', '00065','00054 ' ")
    ;
    INSERT INTO POSITION_ASGN
    VALUES (' EMP02', to_date('01-JAN-2013','dd-mon-yyyy'), '00096', '00096','00054 ' ")
    ;
    INSERT INTO POSITION_ASGN
    VALUES (' EMP03', to_date('01-JAN-2013','dd-mon-yyyy'), '00103', '00096','00054 ' ")
    ;
    INSERT INTO POSITION_ASGN
    VALUES (' EMP04', to_date('01-JAN-2013','dd-mon-yyyy'), '00117', '00096','00054 ' ")
    ;
    INSERT INTO POSITION_ASGN
    VALUES ('MGR01', to_date('01-JAN-2013','dd-mon-yyyy'), '00054', ' 00054', ' 00017')
    ;
    INSERT INTO POSITION_ASGN
    VALUES ('MGR02', to_date('01-JAN-2013','dd-mon-yyyy'), '00054', ' 00054', ' 00017')
    ;



    Titles of the table where a person is in the organization.
    ASOFDATE - history of tracks over time
    ACT_POSN - acting, where the person is physically
    SUB_POSN - substantive position, where the person should be, usually the same as ACT_POSN, but if you're ready to someone else it's your original position
    RPT_POSN - that make you in your acting

    What I do is on a given date, with a number of given position return a data set that shows all holders acting in a column, all substantive holders in a second column and all holders acting position reports in a third column.

    Ignoring the notion of date at the moment, I can create a simple union query to:

    SELECT 'ACTING' 'MODE', 'NUMBER', EMPLID ACT_POSN
    OF POSITION_ASGN
    WHERE ACT_POSN = '00096'
    UNION
    SELECT 'SUBST' 'MODE', SUB_POSN, EMPLID
    OF POSITION_ASGN
    WHERE SUB_POSN = '00096'
    UNION
    SELECT "MGR" 'MODE', A.ACT_POSN, A.EMPLID
    OF POSITION_ASGN A, POSITION_ASGN B
    Where A.ACT_POSN = B.RPT_POSN
    AND B.ACT_POSN = '00096'


    Produce a single output
    ACTING EMP01 00096
    ACTING 00096 EMP02
    BISHOP 00054 MGR01
    BISHOP 00054 MGR02
    SUBST 00096 EMP02
    SUBST 00096 EMP03
    SUBST 00096 EMP04

    But I can throw it in a table of 3 lines according to the value of 'MODE' so that I find myself with
    MANAGER - BACKGROUND - ACTING
    EMP01 - EMP02 - MGR01
    EMP02 - EMP03 - MGR02
    vacuum - EMP04 - white

    I could see how I could generate a Rank() on parittion by NUMBER, MODE to find out the fact that I need 3 rows (because there are three background PGE in 00096), maybe as an argument of the no_lig object and then select join based on the MODE and the value of the no_lig argument, but it all feels so round the houses that I wonder if doe analytics that can better.

    Does anyone have advice / sample code I could bone?

    Published by: Paula Scorchio on 17 March 2013 22:49

    I forgot to say that this is my rough code that kind of did what I need
    SELECT A.RN, MAX (DECODE (B.RN, A.RN, DECODE (PMODE, "ACTING", EMPLID, ' '))) 'INTERIM', MAX (DECODE (B.RN, A.RN, DECODE (PMODE, "SUBST", EMPLID, ' '))) 'SUBST', MAX (DECODE (B.RN, A.RN, DECODE (PMODE, "MGR", EMPLID, ' '))) 'MG '.
    Of
    (SELECT ROWNUM 'RN' FROM DUAL CONNECT BY LEVEL < =)
    (SELECT MAX (RN) IN)
    SELECT 'ACT', 'VALUE', ACT_POSN, EMPLID, RANK() OVER (PARTITION OF ACT_POSN ORDER OF EMPLID) "RN".
    OF POSITION_ASGN
    WHERE ACT_POSN = '00096'
    UNION
    SELECT 'SUBST' 'VALUE', SUB_POSN, EMPLID, RANK() OVER (PARTITION OF SUB_POSN ORDER OF EMPLID) "RN".
    OF POSITION_ASGN
    WHERE SUB_POSN = '00096'
    UNION
    SELECT "VALUE'" MGR", A.ACT_POSN, A.EMPLID, RANK() OVER (PARTITION BY A.ACT_POSN OF A.EMPLID ORDER)"RN ".
    OF POSITION_ASGN A, POSITION_ASGN B
    Where A.ACT_POSN = B.RPT_POSN
    AND B.ACT_POSN = '00096'))) (),
    SELECT 'ACT', 'VALUE', ACT_POSN, EMPLID, RANK() OVER (PARTITION OF ACT_POSN ORDER OF EMPLID) "RN".
    OF POSITION_ASGN
    WHERE ACT_POSN = '00096'
    UNION
    SELECT 'SUBST' 'VALUE', SUB_POSN, EMPLID, RANK() OVER (PARTITION OF SUB_POSN ORDER OF EMPLID) "RN".
    OF POSITION_ASGN
    WHERE SUB_POSN = '00096'
    UNION
    SELECT "VALUE'" MGR", A.ACT_POSN, A.EMPLID, RANK() OVER (PARTITION BY A.ACT_POSN OF A.EMPLID ORDER)"RN ".
    OF POSITION_ASGN A, POSITION_ASGN B
    Where A.ACT_POSN = B.RPT_POSN
    AND B.ACT_POSN = '00096') B
    A.rn group

    Hello

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!

    That means each line of output represent? It seems that the nth line output has the distinct interim nth emplid, the nth emplid background and the nth Manager happens to one of the many. The columns of each row are all related to the same ('00096' in this case) target id, but other than that, they seem to have no real connection between them.
    It looks like a Fixed price query , like this:

    WITH     targets          AS
    (
         SELECT     '00096'     AS target_id     FROM dual
    )
    ,     all_modes     AS
    (
         SELECT     CASE LEVEL
                  WHEN  1  THEN  'ACT'
                  WHEN  2  THEN  'SUB'
                  WHEN  3  THEN  'RPT'
              END     AS mode_abbr
         FROM     dual
         CONNECT BY     LEVEL     <= 3
    )
    ,     unpivoted_data     AS
    (
         SELECT  am.mode_abbr
         ,     t.target_id
         ,     CASE
                  WHEN  am.mode_abbr = 'ACT'
                   AND  e.act_posn   = t.target_id  THEN  e.emplid
                  WHEN  am.mode_abbr = 'SUB'
                   AND  e.sub_posn   = t.target_id  THEN  e.emplid
                  WHEN  am.mode_abbr = 'RPT'
                   AND  e.act_posn   = t.target_id  THEN  m.emplid
              END     AS emplid
         FROM               targets     t
         CROSS JOIN        all_modes     am
         JOIN                  position_asgn  e  ON   t.target_id IN ( e.act_posn
                                                  , e.sub_posn
                                              )
         LEFT OUTER JOIN  position_asgn     m  ON   m.act_posn  = e.rpt_posn
    )
    ,     got_r_num     AS
    (
         SELECT     u.*
         ,     DENSE_RANK () OVER ( PARTITION BY  target_id
                                   ,                    mode_abbr
                             ORDER BY        emplid
                           )         AS r_num
         FROM     unpivoted_data  u
         WHERE     emplid  IS NOT NULL
    )
    SELECT       MIN (CASE WHEN mode_abbr = 'ACT' THEN emplid END)     AS acting
    ,       MIN (CASE WHEN mode_abbr = 'SUB' THEN emplid END)     AS substantive
    ,       MIN (CASE WHEN mode_abbr = 'RPT' THEN emplid END)     AS manager
    ,       target_id
    FROM       got_r_num
    GROUP BY  target_id, r_num
    ORDER BY  target_id, r_num
    ;
    

    There may be times when you'll want to do this for multiple targets together, is not only a target (for example, ' 00096'). The first auxiliary request, target, specify any number you want, including 1
    Instead of making a UNION 3 way to unpivot data, it will be probably more effective to cross the join to a 'table' with 3 rows. What's the next sub-querry, all_modes, for.
    The 3rd subquery, unpivoted_data, finds the relevant lines in position_asgn and unpivots or divided) 3 ranks, for the 3 modes.
    The following subquery, got_r_num, gives the line number for each distinct to display value. This could be done in the previous subquery, no cross data dynamic, but to avoid repeating the expression BOX great, I used a separate subquery. If you don't care the order of the items, you can easily use DENSE_RANK in unpivoted_data.
    The application main re - merges the nth lines for each target 1 row. If you don't have only one target, then, of course, then you need not display target_id.

    For more information on queries to fixed price, see {message identifier: = 4459268}

  • question about php files in apex bundle apex_4.0.2.zip

    Hello
    Please suggest why we of the php files in the apex? I think that the textarea spell checker feature is taken from 4.0.2 but there are still a few php found in apex bundle files and because of that there is a problem of vulnerability "upgrade to PHP version 5.3.12 / 5.4.2 or later." A workaround 'mod_rewrite' is also available. »

    Please suggest if we delete these files or they are really necessary and must stay in the pictures folder?

    folder: \images\fck\editor\dialog\fck_spellerpages\spellerpages\server-scripts

    spellchecker.php
    spellchecker.cfm
    spellchecker.pl

    Hi Salah,

    You can delete the folder "Server-scripts". In more recent versions of the APEX of this folder is not included more.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Maybe you are looking for