I have this code:
<?php
$result_cursos = "SELECT nome,
Quarto
FROM centrodb.utentes
WHERE descricaovalencia = 'LAR' AND nome <> 'CLASSE' AND ativo = '1' ORDER BY nome ASC;";
$resultado_cursos = mysqli_...
The post registration code is this:
<?php
if(isset($_POST['cadastrar'])){
$titulo = trim(strip_tags($_POST['titulo']));
$data = trim(strip_tags($_POST['data']));
$descricao...
I have this form to consult only for a period of time or just by the name of the client or to consult for a period of time and a specific client:
<form method="POST" action="">
<strong>Data Início:</strong> <input type...
I have a question about the characteristics of some attributes of my table.
Problem: I have to store an identification number of my items, this is always composed of 3 digits (zero left in case of numbers less than 3 digits). I can literally...
Good afternoon,
I'm trying to get a Form as an array, but I'm not able to handle this array correctly. I have 6 fields 3 ID fields and 3 text fields, I tried to do so but to no avail. But it runs 6 times the array, not 3 as it should be.
r...
Hello, can anyone help me with how to create a list with php this type of array.
The data comes from two tables, Categories and Products.
I'm using MySQL to fetch the data from the two tables.
My tables:
Categories = > id, name
Pr...
Good afternoon.
I use MySql Workbench 6.3.
I need to generate the script to create the local database to publish to the server.
It is completely impractical to create everything again in the hand because the base is huge.
How can I do this...
I'm trying to make a series site, but I'm suffering to hit the logic of the tables, first I'll explain how I want it to work, the person enters the site, there are the series that pulls the following information from the% so my link that accesse...