Posts by thierry rene matos • 423 points
10 posts
-
1
votes0
answers8
viewsQ: Report of the top pages of all time, last week - Google Analytics
I have a question in Analytics. These days one of the blog posts that I manage, entered the top pages of the week. The point is that this post, is 2016. What I would like to do, after realizing that…
-
0
votes1
answer32
viewsQ: Create unique content in Wordpress (no plugin)
I’m having a little trouble reasoning a decent logic for a wodpress theme present exclusive content. The idea is the following: I need to send an email, which will contain a parameter in the link…
-
25
votes1
answer19287
viewsQ: How does PHP-FPM work?
Guys, I have a question related to the concept of PHP-FPM. From what I understand from the documentation, it is a module of PHP that manages requests to the server to avoid high loads, or am I…
-
1
votes2
answers985
viewsQ: Add parameter at end of link with jQuery
Guys, I’m trying to take some specific URL’s on a page, and add a parameter at the end of the link, but I’m not succeeding, because it returns the object instead of the link string + the parameter.…
-
0
votes3
answers1198
viewsQ: Block event click element
I have a JS function that displays banners on my page if it is the first access of the day. In this popup there is an input for the person to enter their email, but when clicking on the input, the…
-
0
votes1
answer362
viewsA: Resize image in a square while keeping the original PHP image aspect ratio
I was able to solve the problem using the php zebra_image library. The library has a method that does just what it needed in a spectacular way. http://stefangabos.ro/php-libraries/zebra-image/…
-
1
votes1
answer362
viewsQ: Resize image in a square while keeping the original PHP image aspect ratio
What happens is this: I’m pulling some product photos from an XML link, and the images come in different sizes. Currently I use a code that takes the image and resizes to 200x200, but images with…
-
2
votes2
answers521
viewsQ: Check duplicate items and update a column in all but one
I have a table of products that bring information from an XML, and another table in the system that basically receives these products after approval (we have an interface to define what enters or…
-
1
votes2
answers145
viewsA: Is it possible in Mysql to update column information in several duplicated rows, leaving only one row with the original value?
I realized that the post query deletes unique items, but I managed to solve the problem as follows: DELETE table FROM table INNER JOIN ( SELECT MAX(id) AS lastid, column FROM table WHERE column IN (…
-
1
votes2
answers145
viewsQ: Is it possible in Mysql to update column information in several duplicated rows, leaving only one row with the original value?
For example, I have several rows in a table (which I pulled from an XML of google products, so the same product is presented several times, each for a size of clothing/product) which are referenced…