Posts by shelldude • 91 points
9 posts
-
0
votes1
answer23
viewsA: Is it possible to know the Column selected by GREATEST in Mysql?
It was very simple to solve, I found the use of variables in Mysql, so I stored the result of "GREATEST" in a: SELECT @greatest := (GREATEST(coluna1,coluna2,coluna3,coluna4)) AS greatest_average,…
-
0
votes1
answer23
viewsQ: Is it possible to know the Column selected by GREATEST in Mysql?
Hypothetically, having 8 columns in an X table, 4 of these columns store an average: AVG(colunaN) And the other four store the amount of elements of that average COUNT(column) In a query I’m trying…
-
0
votes1
answer157
viewsQ: Mysql, SELECT according to the specialisation of the generic entity occurrence
In my database I have a generic entity "user", such entity is specialized in two other "store" and "service_provider", this specialization has total and exclusive characteristic, so that, an…
-
0
votes1
answer44
viewsQ: Invalid argument for chmod()?
I’m trying to receive the dimensions of each photo sent, but when I run the file happens this: Error: Warning: chmod(): Invalid argument in C:\Program Files (x86)\EasyPHP-…
-
0
votes0
answers42
viewsQ: Scroll through the values of an input file in PHP?
I’m trying to go through an array of various images in PHP, however, I’m not getting it, follow the code below: HTML: <input type="file" name="img[]"…
-
2
votes1
answer1793
viewsQ: Send values on onclick
I’m trying to send two figures on onclick of HTML, however, the second value is "Undefined", as I can send these two values to the function? echo "<h3 id='$input'…
-
-4
votes3
answers220
viewsQ: show html page in php
I am making a code in php, after this code perform its action I would like to show another page in html ex: echo " <a href= 'main.html' > "; then the page would appear <main.html>. But I…
-
5
votes3
answers860
viewsQ: how to increment letters in php?
I need to make a script in php that increments a letter in the received name ex: if the user type B letter need to transform it into a forward or C.
-
2
votes2
answers4786
viewsQ: how do I remove some numbers after the comma in PHP
How do I remove some numbers after the comma in PHP? ex: 25.523832732732... Then I want you to stay only 25.52