Posts by Diego Fernando • 21 points
6 posts
-
0
votes0
answers70
viewsQ: Block pages by access level
Hello... I am with a project where when the user logs in he must have access to only a few pages, in the bank I have a column "Level" that is the level of access, I am trying to make the…
-
0
votes2
answers32
viewsQ: sql return php data
$hoje = date('d'); $data_hoje = "SELECT * FROM vendas WHERE dataCompra = now()"; $result = mysqli_query($conexao, $data_hoje); while($linha = mysqli_fetch_assoc($result)){ if($linha['dataCompra'] ==…
-
0
votes0
answers80
viewsQ: Dates with php google Charts
I need to get the date and put it on a chart of Google Chart, for example: Sales today, this week, this month. $sql = "SELECT dataCaptura FROM produtos"; //Trazendo resultados da tabela $result =…
-
1
votes2
answers1098
viewsA: Redirection of php pages
$resultado_usuario = mysqli_query($Conn, $result_usuario); if($resultado_usuario){ $row_usuario = mysqli_fetch_assoc($resultado_usuario); if(password_verify($password, $row_user['password']){…
phpanswered Diego Fernando 21 -
0
votes2
answers1098
viewsQ: Redirection of php pages
header('Location: leticia.php?id=1' .$usuario); header('Location: barbara.php?id=2' .$usuario); I am trying to redirect 2 logged in users, each one to your page using the code above, but when logged…
phpasked Diego Fernando 21 -
0
votes2
answers254
viewsQ: How to redirect the user to a specific PHP page?
I would like to know how to redirect the user to the page I want as soon as they log in? example login:diego.santos password:12345 wanted you to redirect to id1.php example login:santos.…