Posts by Lougans de Matos • 391 points
32 posts
-
0
votes1
answer74
viewsQ: How to return all fields of an object in a Mutation in Graphql?
Hello, I have a mutation in the GraphQL (With Rails) and I want to perform a database update using this mutation. When he finishes udpate, return the entire object as a response. Come on. I have a…
-
0
votes2
answers223
viewsQ: How to convert an array to hash?
I possess the following return: [{"eh5g4vs84ah84gsdf4a8va"=>"information"}] Is a hash within a array. I’d like to know how I take that Hash from within the array? He’s the return of a…
rubyasked Lougans de Matos 391 -
0
votes0
answers135
viewsQ: Methods to clear URL parameters after an action
Hello, I am looking for methods to solve a problem I have, as it is a more internal problem, I can not divulge much information but I will exemplify here with some blocks of code. THE PROBLEM: I…
-
1
votes1
answer179
viewsQ: Send several checkbox values to the database
I have a logic problem, actually and I can’t evolve what I need to do with a code. Follows description of the problem: Problem: I have a list of products and need to inform on a screen if the…
-
2
votes1
answer54
viewsQ: Error with search bar results
I have a search field where I type the term and it looks for references in the database, all right until then. It turns out that when I delete and leave the input blank search, it keeps displaying…
-
0
votes0
answers622
viewsQ: Clicks counter using Javascript
I’m trying to make a click counter. Understand: I have a search bar that dynamically returns all service titles registered in the database. This process mediates between the PHP and the Javascript.…
-
1
votes0
answers31
viewsQ: Problems with Category List / Products
I have work on a product screen with categories and subcategories, but I have found some problems: WHAT I WANT TO DO: I simply want to have a page with the list of products. On the side will be…
-
1
votes1
answer55
viewsQ: Capture a specific option in Javascript
The System: I have a select with some options and sub-options (I already explain). This select is generated by php according to the categories that are registered in the database, that is, I have…
-
0
votes0
answers98
viewsQ: Change input value according to an option’s value
I am trying to develop a differentiated functionality for study purposes and so far failed to develop. What I need to do: I’m gonna have a field input of the kind hidden and needed it to earn the…
-
1
votes3
answers48
viewsA: Email sending problem like Ajax
Problem Solving - *Author’s Answer* Thanks for the previous comments that helped me dig through some other stuff until I found the solution. In short, the success: of AJAX was giving the problem. I…
-
3
votes3
answers48
viewsQ: Email sending problem like Ajax
I’m developing a website where on the main page it has a section with a form. This form is for registering emails for sending newsletters. The other pages of the site also have other forms and all…
-
0
votes1
answer45
viewsQ: Problems with PHP Sessions and Ajax Requests
That’s for the beast, haha. I have a hosted website (privacy I will not disclose the link) that the segment is from personal protective equipment. Have products to add to cart. Problematic situation…
-
5
votes2
answers185
viewsA: What is the relation of the <figure> tag to the main stream in HTML?
As stated in the question, <figure> has its application inside some visual objects in the document HTML, not to mention its semantic value. However, these features should not always be…
html5answered Lougans de Matos 391 -
1
votes1
answer62
viewsA: Javascript is not communicating with html
You are inserting your <script> within the <head>. Try to declare your <script> before the end of the tag <body> as below: <!DOCTYPE html> <html lang="en"…
-
-1
votes3
answers110
viewsA: HTML Structure - CSS Background Image
So friend, You can follow and structure your background image using the header or div, as below: body { height: 100vh; margin: 0; padding: 0; } .header { background:…
cssanswered Lougans de Matos 391 -
0
votes1
answer140
viewsA: Redirect Problems with . HTACCESS
I managed to solve my problem by commenting on the <IfModule mod_rewrite.c> completely and with that my site was re-accessed with: /index php.; www; had bar (/); HTTP without redirecting; So I…
-
2
votes1
answer140
viewsQ: Redirect Problems with . HTACCESS
I am developing my site and it is in great condition, however I have a small problem in the matter of redirects of the site. The link to my website is this: Website - Lougans I created in my…
-
0
votes2
answers53
viewsA: Site malfunction after change in . htaccess
Hello, I use this rule below to have that effect. I own a folder and within it a file index php. common. Example: www.meusite.com.br/Dashboard/new-registration/ The Dashboard is a folder; The new…
-
0
votes0
answers53
viewsQ: Website defaced after change in . htaccess
I developed a website, but went to .htaccess of the project to apply a rule to force the HTTPS on the page (For exploratory purposes only, I would not apply this way.). See below the implemented…
htaccessasked Lougans de Matos 391 -
2
votes1
answer209
viewsA: Is there an editor or ide that has live preview option for Php
Look, I also do not know one that does in real time but similarly you can install the plugin Browser Sync to the VSCODE (actually any terminal IDE). I did with the terminal Node.Js putting: npm…
-
0
votes1
answer119
viewsQ: Slidetoggle - Open and Closed Configuration - jQuery
I will present the idea that I want to do on my website and then I will show you what I have already done and what is working correctly and soon after I will present the problem that I am not able…
-
1
votes1
answer131
viewsQ: CSS customization with jQuery
I’m in a site development and needed a help on a matter: I’m making 6 cards with a few titles and when I click on a card, it makes a request Ajax looks for some service information just below the…
-
0
votes0
answers194
viewsQ: Ajax Request Error and jQuery Versions
I’m having a problem understanding and solving a problem with a request Ajax that I need to do. Below is a list of the sequence of the subject that I will say: Explain what I need; Explain what I…
-
0
votes0
answers33
viewsQ: Server does not search style sheets
I have a site that generates the following errors: Can someone give me a hand with this? This site on Localhost (using xampp) works normally, there is nothing missing. But it is only I bring to the…
-
-3
votes4
answers4002
viewsA: Vscode does not open page in browser
Hello, Manually do the process with VSCODE. Open the browser and type: localhost/nomedapastadoseuprojeto Another point is to check your use of frameworks that may have specific ports defined, for…
-
0
votes2
answers110
viewsQ: Error Trying to get Property... PHP + Error og:image API Facebook (Share)
I have other examples here but none worked for me I have an instruction to pull an image from the database, only it’s giving the error "Notice: Trying to get Property of non-object in ..."; $q=…
-
0
votes2
answers361
viewsQ: Problems with jquery and input mask
I’m trying to put a value on the inside of a input which is masked both in typing and in the entered value. Well, I have a list of real estate listings in the database that I pull to the front,…
-
0
votes0
answers26
viewsQ: Ancora does not call the reference section
I have a page from the site that is responsible for presenting the products of the site. Think like this, you go to the page and have the category buttons, each time a category button is "active"…
-
0
votes0
answers206
viewsQ: Problem -> Shopping Cart increases products by refreshing the page - PHP
From the series "I’m trying to make a complete shopping cart system" kk, I have one more problem. Just to emphasize that I’m a beginner in programming and I’m studying the maximum functionality and…
-
1
votes1
answer96
viewsQ: Problem in the Foreach array
My problem is this, I hope you can help me: I am searching some records from the "Products" table of my database and displaying it on the front. I am using a Foreach to bring these records and there…
-
2
votes0
answers613
viewsQ: Add multiple products to shopping cart
I’m trying to create a simple shopping cart (at first), where I have some fixed products in the database and I’m calling them, obviously, through the Fetchall(); Okay, I made a $_SESSION and as far…
phpasked Lougans de Matos 391 -
0
votes2
answers2436
viewsQ: How to Change H1 using Javascript?
I have a product gallery and the side there are some buttons that are the categories of these products (buttons: cabinet, monitors, mouse, chairs, etc), when I click in this category, a toggle…