Posts by Geraldão de Rívia • 940 points
64 posts
-
1
votes1
answer69
viewsQ: Form sending null values
I have this small form that should send the data filled in it to the page "cad_real_qm.php". However, I have a javascript function that checks if some fields are null and if so, will issue an alert.…
-
-1
votes1
answer324
viewsQ: Multiple buttons on the same page with different functions
I have the following code that has 3 buttons, when pressing a button, it should change a value in my table in Mysql, however, when I press one of the buttons, it is the same as having pressed all…
-
2
votes2
answers282
viewsQ: How to execute a function in ajax when opening the page?
I have the following function in Ajax: $.ajax({ type: "POST", url: "tra.php", data: {}, dataType: 'json', suceess: function(Last) { line.originalData[0].push(Last); line.originalData[0].shift();…
-
4
votes1
answer296
viewsQ: Dynamic graph does not update
I’m using the library Rgraph graphics HTML5, and should update dynamically together with the bank. However, I would like the last data imputed in the bank to be placed on the chart, so if I inserted…
-
5
votes2
answers12279
viewsQ: Complete number with zeros on the left with PHP
I have a field with a limit of 4 characters where a value will enter, I would like the remaining space to complete with zeros from left to right, for example, if the user inserts the number 4. I…
-
4
votes2
answers12357
viewsQ: How to make an INNER JOIN between two different databases on the same server in MYSQL?
I’d like to lay a INNER JOIN between two distinct tables but that are on the same server. It would be something like? INNER JOIN BANCOA.tabelaA.colunaA ON BANCOA.tabelaA.colunaA =…
mysqlasked Geraldão de Rívia 940 -
0
votes2
answers613
viewsQ: Arranging html and css table layout
I have a page in php that searches for mysql data and shows in a table: However, when I shorten the window, the tables and the header are "disorganized", thus: How do I "lock" the tables and they do…
-
2
votes1
answer298
viewsQ: Change server CRON function via PHP
You can change any CRON function with PHP or any other language? For example, I have the following non-server function: 30 15 * * 1-5 php /var/www/html/projetos/hist_06.php In this application the…
-
2
votes3
answers154
viewsQ: Count how many days from today to the bank date
I need to create a PHP application that reads the date of a column inside the MYSQL database and compare with today’s date, after comparing it should print the difference of days. Example: In the…
-
1
votes2
answers70
viewsQ: HTML within d HTML
I have a doubt here. I have the following HTML code: <html> <head> <?php $logado = 'my name'; ?> <link rel="stylesheet" type="text/css" href="cabecalho.css"/> <nav…
-
0
votes1
answer625
viewsA: Comparison of Mysql data from two different databases - PHP
I ended up discovering the answer unintentionally kkk, I will post here if eventually someone has the same problem. Instead of putting $line_up= mysql_fetch_array($table_primal2) in some while, I…
-
1
votes1
answer625
viewsQ: Comparison of Mysql data from two different databases - PHP
My web application should access two different databases on different servers, put the column of the two databases on the screen and compare the result between them. However, it only returns the…
-
0
votes2
answers809
viewsQ: Breaking table into multiple pages
I am creating a web application that displays two tables of equal sizes However, both have about 100 lines each, I would like only 25 rows of each table to be displayed and to see the rest of the…
-
2
votes3
answers111
viewsQ: Prevent data from appearing in MYSQL search
I have a table composed by the following columns, ID, Produto, Compra, Venda and Resultado. I know the syntax to select the values I want, Example: Select * From tabela_exemplo where Produto =…