Posts by Nicolas Pereira • 154 points
17 posts
-
0
votes2
answers36
viewsA: How do I check if the object has a specific name string in Reactjs?
How are you already getting the attribute type directly from your object api just you in your job someFunction(){ return({api.type === "happy"? (<img src={happy.png} />) : (<img…
-
0
votes1
answer130
viewsQ: How to create a PDF from a list
want to create a PDF from a list but this resulting the following error: C:\Users\nicperei\Desktop\pyCodes>py web.py Traceback (most recent call last): File "web.py", line 22, in <module>…
-
1
votes1
answer278
viewsA: How to open multiple HTML’s and save content sequentially in a txt
First thing, are HTML Urls standard? If so, create a loop to open all the files. If it is not necessary you pass the name of the page as parameter. A hint if there are several pages create a file.…
-
2
votes1
answer88
viewsA: Button Does not answer Javascript command
You have two functions for the same button event: <div class="text-coupon"><button onclick="funcao()" onclick="copiarTexto()" data-toggle="modal"…
-
1
votes2
answers735
viewsA: VBA Merged Cell
Because the cell is merged with the VBA it uses as parameter the first cell that was merged, so the MAI/2019 value is in cell E6.
-
1
votes1
answer254
viewsQ: Simple Quotes in Access
I have an Excel macro that reads the cell’s contents and saves it in an Access type database, when I try to insert a string that has simple quotes in the middle of the string and the following…
-
2
votes2
answers2470
viewsA: How to use Python Random.Seed()?
Hello, the python it does not generate a random number, they are pseudo-random or be deterministic. It is generated from the number you put in random.seed()! Here’s an example I did. #-*- coding:…
-
0
votes1
answer26
viewsA: I am trying to pass my database id to call an image in another directory
Hello, in the part of img src you need to concaternar, you are putting the variable $id as if it were a text. would be something like this: From a look at concatenation in PHP -
-
0
votes1
answer320
viewsQ: Change distance on x-axis - Matplotlib
I’m mounting a chart using the Python matplotlib library but the result is not good! The names of the x angle are not visible. Follow picture Code: #-*- coding: utf-8 -*- #Meu Décimo oitavo Programa…
-
-1
votes1
answer451
viewsQ: Configure external Tomcat server
I would like to set up an external server in Tomcat, I am only able to create a localhost server, but I have a machine that I created as a server and I would like to use it to put my applications…
-
0
votes1
answer2266
viewsA: Runtime error 1004 in VBA
all good? The 1004 error it happens in the following situations: Due to corruption in MS Excel desktop icon Conflict with other programs while opening the Excel VBA file When filtered data is copied…
excel-vbaanswered Nicolas Pereira 154 -
0
votes1
answer155
viewsQ: Add Item and Index to combobox
Hello, I would like to insert in a combobox the Item and the index of that Item. The item (function_name) I do through a query in a database and I wanted the index to be the working id_function.…
-
0
votes2
answers137
viewsA: Is there a framework in php that is similar to frontend frameworks?
Hi, I believe Laravel is already a great PHP framework! The PHP frameworks serve to better order the project (MVC Standard for example) and facilitate the development process with ready methods for…
-
1
votes2
answers663
viewsA: How to send php variables to the html page?
all good! Next, there are many ways you can get PHP data into HTML! The simplest way is to create the query in the file itself and then "draw" the table receiving the array that comes from the…
-
0
votes2
answers42
viewsA: Convert the first letter to high box and the accents to low box
Then try it this way function converter($palavra){ // $minusculas = array("á", "à", "â", "ã", "ä", "é", "è", "ê", "ë", "í", "ì", "î", "ï", "ó", "ò", "ô", "õ", "ö", "ú", "ù", "û", "ü", "ç");…
phpanswered Nicolas Pereira 154 -
0
votes1
answer45
viewsA: Doubt about image upload
Hello, from what I saw of your code and the Upload Class, I believe this in the user directory of your computer! Have you checked? When I create a directory for images in applications I create a…
-
2
votes2
answers37
viewsA: Generating sequential Ids for each user in the same Mysql table
Would you like to create a sequence for each user? I believe you could make the first option. create a table helps with ID_USER and its Code Code and at the time of giving the Insert you search what…