Javascript – Access the information stored in JSON arrays in PHP

The code of the forms is created dynamically by cloning a parent form. I take all elements within the parent div and create them dynamically up to a maximum of N fields. The data is stored in arrays of json

$('#addRow').on('click', function (e) {
    var len = $('.child-border').length;
    $('.parent-border').clone().find(':input').each(function (idx, ele) { = + len; = + len;
        ele.value = '';
            .toggleClass('parent-border child-border').hide()

$('button.btn:contains("Save")').on('click', function (e) {
    var jsonData = $('form.form-horizontal')
            .reduce(function (acc, ele) {
                acc( || = ele.value;
                return acc;
            }, {});

$('#container').on('click', '(id^=deleteRow)', function(e) {
    var jsonData = $(this).closest('.child-border, .parent-border')
            .reduce(function (acc, ele) {
                acc( || = ele.value;
                return acc;
            }, {});
    $(this).closest('.child-border, .parent-border').remove();

I then have to access the existing data in the forms dynamically created in Javascript and store them in variables to be stored in the database. The latter, which I know, I just have to access the information generated by the cloned forms and then pass them to my variables in PHP.

Create a var_dump of the $ _POST variable to make sure it is NULL.

Store information dynamically in an ArrayList. JAVA

Hello, I have a problem with a system that I have created. He wants to dynamically register books and then consult and buy them. In my role no mistake, but I can not consult my list. Here is the code

ArrayList book = new ArrayList <> ();

public void deletar() {
    Scanner deletar = new Scanner(;
    System.out.println("Qual livro voce quer deletar ???");
    String deletar_livro =;
    System.out.println("livro"+ deletar_livro + "foi deletado");

public void cadastrar() {
    Scanner adicionar = new Scanner(;
    System.out.println("Digite o nome do Livro:");
    String nome_livro =;
    System.out.println("digite o codigo do livro:");
    int codigo_livro = adicionar.nextInt();
    System.out.println("digite o autor do livro:");
    String autor =;
    System.out.println("digite o ano de lançamento do livro:");
    int lancamento = adicionar.nextInt();
    System.out.println("digite o codigo da ISBN do livro:");
    int codigo_ISBN= adicionar.nextInt();
    System.out.println("digite o estoque do livro:");
    int  estoque = adicionar.nextInt();

    Livro cadastro = new Livro();



public void consultar(){
    Scanner consulta = new Scanner(;
    System.out.println("Qual livro voce esta procurando ?");
    String titulo =;
        for (int i = 0; i < livro.size();i++) {
            if(titulo == livro.get(i).getTitulo() &&  livro.get(i).getEstoque() > 0){
                System.out.println("nos temos o esse livro em estoque");
              //  compra();
                System.out.println("desculpe, nós nao possuimos esse livro, gostaria de fazer uma encomenda");


    public void compra(){
    Scanner compra = new Scanner(;
        System.out.println("Quantos livros o você deseja ?");
        int quantidade = compra.nextInt();
        if (getEstoque()>0){
            setEstoque(getEstoque() - quantidade);


Get software information

My Samsung J7 Prime Phone has received an update from July 2019. I would like to know the previous firmware release (February era) to install this earlier version, or if there is a way to return to the previous update.

Note: Both have the same version of Android 8.1.0.

Explain this Snort Rule – Information Security Stack Exchange

You can learn all these things by reading the manual.

alert tcp $EXTERNAL_NET any -> $SQL_SERVERS 1433 

Shout when you see a TCP packet from what I have defined as external networks to What I have defined as SQL Server on port 1433.

(msg:"Attack Detected"; 

If you scream, say "Attack Detected"


Just shout if the SQL Server in this connection is the TCP "server" and this TCP connection was made (for example, ignore random packets that are not part of a connection).


Just scream if you find a binary 0x02 character in the first 1 byte of the message.

content:"sa";depth:2;offset:39; nocase;

Shout only if you also find the string "sa" (or "SA" or "Sa" or "sA") in the two bytes after the 39th byte of the packet.

detection_filter:track_by_src,count 5,seconds 2;)

Shout only if you see 5 packages within 2 seconds that meet these criteria.

dnd 5e – Can either ignorance or lack of memory prevent information about oneself from being differentiated from legends?

Legend has revealed information about the legendary creature and is not hindered by Mind Blank, as Legend has been cast on the caster, not the legendary creature

I found this answer to a similar question: Why does Mind Blank stop the Feeblemind spell? In this question, it is said that Mind Blank prevents the effects of Feeblemind due to the fact that Mind Blank prevents all effects

films Want spells and Spells or effects of similar strength used to influence the mind of the target or to get information about the destination.

Emphasizing my

Based on this statement as the basis for what prevents Mind Blank, it seems that the legendary nature of Mind Blank is not prevented. Legend has it that you can

Name or describe a person, a place or an object. The spell reminds you shortly Summary of the main traditions of what you have mentioned, Tradition can consist of up-to-date stories, forgotten stories or even secret traditions that have never been widely known, If what you have said has no legendary meaning, you will not receive any information. The more information you already have about the matter, the more accurate and detailed the information you receive.

By definition, the creature must be legendary for the spell & # 39; Legend & # 39; becomes effective and you said that was the case in your question. This traditionas written in the description by Legend Lore, does not have to come from the creature itself, therefore never affects the mind of hidden creatures and is not prevented,

Legend has never indicated that the information is taken from the creature to be targeted by the spell, that would mean it is not prevented by Mind Blank, Mind Blank can However, prevent a wishing charm from trying to influence the mind of the creatures Legend has it that it affects the spirit of the legendary creatures,

Nepene Nep makes a good point in his answer, that says that

Legend is a divination magic, and Mind Blank blocks prophecy

Legend has a number of self, meaning that it is cast on the caster, not the legendary creature.

Also, I would say that if the creature is truly legendary, using Mind Blank to prevent Legend Lore from working would make it far more difficult to find information on the PCs. The lore they receive may not be very specific, but may contain current stories or forgotten stories invented by other creatures that this legendary creature may not know about.

For example: You could have a very friendly, but shy, legendary Yeti, but the local stories about him all say he's an icy killer.

Players would most likely learn that information about him is more dangerous than friendly.

Another point that has been raised is that Mind Blank also mentions that it prevents

Spells or effects of similar power that are used to influence the mind of the target or Get information about the destination

I have accepted The Mind Blank would only discourage information be extracted from the legendary creature, rather than about the legendary creature, I was unable to find resources or similar spell questions that were used to obtain information about a creature when that creature is not the target of the spell.

My argument is that Mind Blank only prevents information from being displayed Obtained from the legendary creature and the Legend Lore would provide information known to other creatures, If no one else Creature knows any Information about the legendary creature, it would not be legendary by definition,

This gives you diagnostic information for fast charging

I want to find out which type of fast charging is supported by various combinations of Android device, cable and charger.

I have a variety of devices, from different manufacturers and with different Android versions; a selection of USB chargers with different rated voltage and current outputs; and a variety of USB cables and adapters. I want to find out which ones need to be used to get the fastest charge rate. I also want to be able to decide which new chargers / powerbanks to buy for the best compatibility. I understand that there are different methods for fast charging (as explained under Battery – How does the fast charging?). Unfortunately, the documentation provided with my devices is quite sparse.

Is there a way (an app, a diagnostics screen, an API call, etc.) that I can use to get the following information from my devices:

  • Which quick charge standards does the Android device support (such as Qualcom Quick Charge 2.0, USB Power Delivery 3.0, etc.)?
  • Which fast charge standards does the connected charger support?
  • Which standard is currently used?

Are there otherwise good rules to derive from the stream being drawn which standard is used?

I've seen several apps that show the charge, but the ones I tried did not show any information about the default used.

This question is similar to the question: How do I know that a charger is a turbocharger for my moto, but I want to know the supported standards, not just "Am I charging fast?". In addition, I'd like to query the hardware in a way instead of having to review the specifications for each device and charger individually. For the sake of clarity, I am only interested in wired USB charging, not on the wireless.

How can I tell which JPEG is closer to the original image and contains the most information?

I have two JPEGs of the same photo in different sizes and attributes. How can I tell if an original was recorded on an iPhone4 or if none of the originals contain the most information?

Adobe Bridge for the first photo shows this metadata:

Enter image description here

And the second photo shows this metadata:

Enter image description here

I also do not think that the original since Wikipedia article on the iPhone 4 states that the rear-view camera has 5 megapixels.