Posts by Ricardo Goncalves • 39 points
12 posts
-
0
votes1
answer81
viewsQ: Pass PHP ID for javascript to a page
I would like to send the id I pick up with php and send to a page every 30 seconds...what I’ve done so far: $idtarefa = $_GET['id']; get the id, do all the html and ai in javascript I did it:…
-
0
votes3
answers404
viewsA: Category and Subcategory Sum with PHP and MYSQL
Man, I think I understand your problem, I do something like this here, maybe it can help you. First I take the values with a while, then I use an array. You can do the same thing with your select,…
-
-1
votes1
answer61
viewsQ: Percentage with PHP with ifs
I get 4 percent and I do the average dividing by 4. The problem is that sometimes 1 or 2 percent comes with 0 and if I divide by 4 it will not give the right result. How can I do that? I’m having…
phpasked Ricardo Goncalves 39 -
-1
votes2
answers47
viewsQ: How do Insert in the bank for forms on the same page?
I’m testing a form before I put it into production, because we already have a system that inserts asset movement 1 to 1 and I’m willing to make the operator can do several at the same time, for…
-
-1
votes2
answers133
viewsA: Error inserting PHP + Mysqli data
Dude, by the error he’s not recognizing your date, I’ll leave an example of php’s date syntax here. <?php // Assuming today is March 10th, 2001, 5:16:18 pm, and that we are in the // Mountain…
-
0
votes3
answers916
viewsA: How to send form when selecting checkbox?
With select you can do <select name="cidade" onsubmit="myFunction()"> <option value="São Paulo">São Paulo</option> </select> With Checkbox I believe that below the selection…
-
0
votes2
answers105
viewsA: Add FK in mysql table
Just for the record you can create a variable fk_key int and create the link afterwards (I find it easier) alter table tb1 add constraint fk_chave foreign key (fk_chave) references tb2 (pk_id) hug…
-
0
votes1
answer495
viewsA: List Mysql data with PHP and Bootstrap
I found the solution: the while. while($linha = mysql_fetch_array($dados))
-
-2
votes1
answer495
viewsQ: List Mysql data with PHP and Bootstrap
Hello, I’m having difficulties in listing values of a table, I believe it is syntax error, because not even the html data appear, follow the code: $query = sprintf("SELECT * FROM entrega_cliente");…
-
0
votes2
answers710
viewsA: How do you line up a div inside another div and put 100% size buttons at the end of the div?
I believe that if you use the bootstrap and use the GRID commands as col-Sm and col-Md you solve this quickly, what I could notice is that the division of your columns are 5, you need to separate…
-
2
votes1
answer180
viewsQ: Page Content does not appear in Xamarin Forms
I’m having problems showing the contents of the pages. I created a Listview with some options, follow the code below: using System; using System.Collections.Generic; using System.Linq; using…
-
-1
votes2
answers456
viewsQ: Mysql query with PHP brings duplicate results
I’m trying to create a code in php to build a ranking, I managed to make the data appear, the problem is that is duplicating the results. $rank = mysql_query("SELECT * FROM user_quizzes ORDER BY…