Posts by Vinicius.Silva • 1,257 points
62 posts
-
1
votes2
answers186
viewsA: How to take an image input and display it in the background-image?
Yes you can do this with the api Filereader. It is worth giving a reading also in the section of browser support function onSelectImage(event) { // se usuário não selecionou nenhum imagem não faça…
-
1
votes1
answer470
viewsA: My Carousel does not pass the bootstrap images
In your code you are placing the css class active on all carousel items. Try changing: Of: <div class="carousel-item active"> To: <div class="carousel-item <?php print ($i == 0) ?…
-
0
votes3
answers144
viewsA: I would like to take the case sensitive out of a search in . PHP
welcome to stackoverflow. Unfortunately javascript does not have a specific function to disable case sensitive, but you can do your search by treating your input and the string you want to compare.…
javascriptanswered Vinicius.Silva 1,257 -
2
votes2
answers654
viewsA: Pick up an array index in PHP with foreach
If you want to get column value valor_cobrar for each record returned from your query foreach ($userinfo as $item) { echo $item['valor_cobrar']; } If you want to get column only value valor_cobrar…
phpanswered Vinicius.Silva 1,257 -
2
votes1
answer129
viewsA: Concatenated list of values in PHP
You need to adjust in your code 2 things: Fix a way to persist the form data after Submit to be able to retrieve it later. I suggest doing this with session. Let PHP know that your "name" field is…
-
0
votes1
answer51
viewsA: Validation php only returns one value
Assuming that your consent index.html is the file that has the login form, you need to inform the element <form> where it should send the data when form submitted. You can do this using the…
-
2
votes2
answers1751
viewsA: Send input value to modal
You need to add a Istener to the event "show.bs.modal", adjust your HTML to receive the input value (Note the #text you entered inside . modal-body, it will receive the input value). The final HMTL…
-
0
votes2
answers203
viewsA: Error while recovering a textarea by jquery
The problem is because you are setting and assigning the value of the textarea to the "text" variable directly inside the click '.reply' System and at this time there is no content in the textarea…
-
1
votes1
answer95
viewsA: How do I use the video tag in firefox or Chrome
I believe this video format (.mov) is not supported. Each browser supports a specific video format, but basically there are 3: .ogg .Webm .mp4 The relationship between the video format and vavegador…
-
0
votes1
answer358
viewsA: Angularjs - directive and view are not working properly
It lacked some knowledge about how Angularjs works in the declaration of Getters and Setter modules. But you almost got there! Let’s have a brief explanation of how module creation scheme works.…
-
4
votes1
answer6457
viewsA: Class not found Laravel
Hello! The problem is in the namespace of the.php product file and the controller’s "use Product;" stock. I see 2 solutions for your code compile without errors, are they: Use standard filestructure…
-
4
votes1
answer1998
viewsQ: Product modeling with various suppliers and different prices
In a stock control scenario where 1 product can be supplied by 1 or more suppliers and 1 supplier can contain 1 or more products, what to do on the following occasion: Product "X" has 2 items in…