Posts by Wendel Gomes • 173 points
4 posts
-
0
votes2
answers42
viewsQ: Using object property when declaring it in javascript
Personal I am starting in javascript and I have many questions related to objects. One of them is the following: Let’s assume that I create an object. Here I have a list and I want to keep it inside…
-
5
votes3
answers2397
viewsQ: How to check if there is a certain number in a php variable?
So I was doing a search, looking for some php function that checks if a certain number exists within a variable. And I found the preg_match(). Only that has a however, php gives an error and so I…
-
11
votes2
answers44856
viewsQ: How to get ip from a user using php?
I’m using the function getenv("REMOTE_ADDR"), to catch the ip users who enter a particular page of my site and then I made a if to redirect that ip which is not equal to the variable of ip allowed.…
-
1
votes1
answer1783
viewsQ: Can I disable a div using css?
So I created two div inside each other and my idea was this: I wanted to leave a div inactive, and when I leave the mouse on one, the other appears. The command I used for this is opacity: 0; to…