Posts by Tropeço • 11 points
3 posts
-
0
votes1
answer547
viewsQ: can run a query within a user defined function in php?
I have code like this: function apagar(){ $conexao = mysqli_connect('localhost','usuario','senha'); $db = mysqli_select_db("banco"); $delete = mysqli_query("TRUNCATE table sap_reportes.zempe019");…
-
1
votes0
answers73
viewsQ: How to query mysql using ignore index with group_concat?
I have a query that does the inner join of heavy tables with the filter where coluna = 'valor da coluna', runs until reasonable but would need to run this query without the filter. Only the query…
-
-4
votes1
answer651
viewsQ: How do I insert variables from a select query into a database on a different server?
I would like to make a connection on php in two databases only that are in different networks, in this connection would need to do a search in a database on a server and insert in a table in a…