It's one of those questions again.
I'm getting Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given on line 12, the one with the while() statement:
$sqlTranzactii="select id_tranzactie, DATE_FORMAT(data_tranzactie,'%d-%m-%y') as data_tranzactie, nume_cumparator, adresa_cumparator from tranzactii where comanda_onorata=0";
$resursaTranzactii=mysql_query($sqlTranzactii);
while($rowTranzactie=mysql_fetch_array($resursaTranzactii))
form action="prelucrare_comenzi.php" method="post">
Data comenzii:
<b><?php echo $rowTranzactie['data_tranzactie']?></b>
<div style="width:500px; border:1px solid #ffffff; background-color:#c0c0c0; padding:5px">
<b><?php echo $rowTranzactie['nume_cumparator']?></b><br>
<?php echo $rowTranzactie['adresa_cumparator']?>
I tried googling the issue, but I haven't found anything exactly like my problem. I'm sure it's something trivial that I'm missing, though. Any ideas?