Posts by Rafael Pessoa • 365 points
24 posts
-
1
votes2
answers669
viewsQ: How to change parent element attribute from within child
I want to click on mine Icon it changes properties of the first element. Where am I missing? How to do? import React from 'react'; import './header.css'; import { Col, Container, Row, MediaBox, Icon…
-
0
votes1
answer20
viewsQ: is_home does not work inside wp_enqueue_scripts
I am creating a theme and want to specify which style sheets will be imported when loading the site, for this I am using the hook wp_enqueue_scripts. Within this action I do a check to see if it is…
-
0
votes0
answers198
viewsQ: How to include js file in html project?
In my project, I’m trying to include a . js file, but it’s showing the error Uncaught SyntaxError: Unexpected token < every time I include the file as follows <script type="text/javascript"…
-
0
votes0
answers673
viewsQ: Change data type varchar to int
Is there a problem changing the data type from varchar to int in mysql? I have a spreadsheet with some items that were inserted as varchar, all are numbers. The problem is that I need to do a search…
-
1
votes2
answers1429
viewsQ: Hover with two effects: increase and decrease width of different Ivs
I own 5 divs forming a column. I want that when I hover the mouse over one of the columns this column increases the width by 4% and the others become the size of 19%, causing an accordion effect. I…
-
0
votes1
answer1361
viewsQ: How to view image stored in blob type
I have a database that has a blob field. This field is to have a photo. I need to call this photo and display it. I do not have the photos that originated the contents of the database, so it is…
-
0
votes2
answers113
viewsQ: How to make two events not fire at the same time
I need to make a menu that when you click the button it appears and when you click outside it disappears. The problem I’ve been facing is that the event to make the menu disappear is what becomes…
-
1
votes1
answer50
viewsA: How to solve wrong encoding in xml sheet export
Solution. The solution found was to decode everything using UTF8-Decode when entering the data into the database and when to export choose iso-8859-1 for data standard.
-
0
votes1
answer50
viewsQ: How to solve wrong encoding in xml sheet export
I have a form that receives some of registration and are transmitted to another page via ajax that makes the entry in the database. The problem is that at the time of receiving, if I do not use the…
-
-1
votes2
answers100
viewsQ: How to resolve page redirection in form?
I’m creating a land-page lead capture. I need to pass the files via ajax to not have to redirect the page, however whenever I send the data to the page that should include it in the database it…
-
0
votes2
answers971
viewsA: How to fix content to the right inside a navbar?
I managed to solve the problem at the end of last Friday night. The solution was similar to what Mauritius posted in the comments, with some differences. I set the menu to the top this way <div…
-
0
votes2
answers971
viewsQ: How to fix content to the right inside a navbar?
I’m developing a website and I need to leave a lead pickup fixed on top, along with the top menu, to the button direct (as shown in the image). .lp-menu{ min-height: 70px; background-image:…
-
0
votes0
answers74
viewsQ: How to work effects on parts of an image?
I want to map an image, dividing it into 'n' equal parts, and apply "zoom" effects as I move the mouse over each part. A practical example would be to divide a 100x100 image into 4 equal parts of…
-
0
votes2
answers428
viewsQ: Hover and Disabled at the same time
I have 2 buttons. I want one to be disabled and the other to be in effect Hover. When I do so below the two buttons are with effect. How do I make the button that is disabled have no effect?…
-
12
votes2
answers129
viewsQ: Why can’t I declare an attribute as an object?
I have a class A and I’m creating a class B. I want one of the attributes of B is an object of A. Why the notation public $objeto = new A(); is not correct?…
-
0
votes2
answers35
viewsQ: How to not preload page with self loading
I’m developing a page that needs a form. For aesthetic reasons, I chose not to put caption and in its place I am using placeholder. In that case, he did not want the information to be filled out…
-
1
votes2
answers6177
viewsA: How to insert index and element within an array
Just closing the question. The answer was given by @Anderson, where you should change the line $varivael = array( $linha['nome'] => 0); for $varivael[$linha['nome']] = 0.…
-
4
votes2
answers6177
viewsQ: How to insert index and element within an array
I’m developing a loop to compare two tables in a database. The purpose is to know how many people were appointed by the same employee of the company. For this, I need to start a array as follows:…
-
-2
votes1
answer31
viewsQ: How to create a 3D object
Hello, I’m thinking about making a website that’s fixed on a single screen. When clicked on the options menu, the screens would be presented as a slide, similar to what happens today on Android…
-
0
votes1
answer28
viewsA: How to Fix File Selection for Download in Wordpress
I found the solution. As mentioned, the problem was permissions, only not in the /uploads folder but in the /wp-content folder. Thank you for all your help.
-
0
votes1
answer28
viewsQ: How to Fix File Selection for Download in Wordpress
Good morning, the hosting server of the company I work has made an update and resulted in several problems for my site. One of them was about uploading/selecting files. In summary: when I try to…
-
0
votes0
answers56
viewsQ: How to create file on my PC, within an internal network, using PHP
I am developing a software for the company I work with and a problem has arisen: I need to create a file inside my PC that is saved using any other computer from the internal network of the company.…
-
1
votes1
answer117
viewsQ: Alternatives to the page request method by POST
I am developing a web application for my work. It consists of a Dashboard that will present company information to managers. In this context, I am trying to optimize the page by searching for the…
-
2
votes1
answer130
viewsQ: Use of superglobals within a session
index php. <?php include './db_unifacex.php'; session_start(); $_SESSION['contador']=0; ?> <html> <head> <meta charset="UTF-8"> <title></title> <meta…