0
I have the following code:
<?php
include("conexao.php");
$sql = mysql_query("SELECT COUNT(*)
FROM escola e
WHERE coordenador IN (SELECT ec.coordenador
FROM escola_coordenador ec
WHERE ec.coordenador = '1')
AND uf = 'PR' AND situacao = 'contratado'");
$row = mysql_fetch_array($sql);
$total = $row['COUNT(*)'];
echo $total;
?>
It shows the amount of registration in the bank.
I need a form for the user to enter: the coordinator’s number and the UF and then appears the amount in $total.
Someone can help me?
What you know about HTML and HTTP?
– Woss
@Andersoncarloswoss, almost nothing :-/
– Marcelo
So I think it’s best to start studying from the beginning and try to do it by yourself first, to better identify your difficulties.
– Woss