Posts by Gustavo Ribeiro • 13 points
3 posts
-
-1
votes2
answers34
viewsQ: Record duplicity between two tables
I have two tables that have phone field. I needed to make a query where I searched all the phones equal between these two tables. It is possible?
mysqlasked Gustavo Ribeiro 13 -
0
votes0
answers484
viewsQ: I am using dompdf and getting the following error: Parse error: syntax error, Unexpected 'use' (T_USE) in the line that references the namespace
function contasApagar() { $fornecedorDAO = new fornecedoresDAO(); $retfornecedor = $fornecedorDAO->buscarTodos(); $forma_pagtoDAO = new forma_pagtoDAO(); …
-
1
votes1
answer702
viewsQ: Filter PHP and Mysql year and month
How to bring record regarding month and year which user typed (the way below did not work)? function filtrarData($datap) { $sql = "SELECT * FROM despesas WHERE YEAR(data_pago) = ? MONTH(data_pago) =…