Mam takie coś:
if (isset ($_POST['submit'])) { $sql = "INSERT INTO klienci
(imie_nazwisko,adres,kod_pocztowy,miasto,e_mail,telefon1,telefon2,nip_firmy,
adres_firmy,kodpocztowy_firmy,miasto_firmy,telefonfirmy_1,telefonfirmy_2,data)
VALUES ('{$_POST['imie_nazwisko']}','{$_POST['adres']}','{$_POST['kod_pocztowy']}','{$_POST['miasto']}','{$_POST['e_mail']}','{$_POST['telefon1']}','{$_POST['telefon2']}','{$_POST['nip_firmy']}','{$_POST['adres_firmy']}','{$_POST['kodpocztowy_firmy']}','{$_POST['miasto_firmy']}','{$_POST['telefonfirmy_1']}','{$_POST['telefonfirmy_2']}',CURDATE());";
}
...<div>Podaj imie i nazwisko: <input type="text" name="imie_nazwisko" value="'.$row_up['imie_nazwisko'].'" /></div>
<div>Podaj adres zamieszkania: <input type="text" name="adres" value="'.$row_up['adres'].'" /></div>
<div>Podaj kod pocztowy: <input type="text" name="kod_pocztowy" value="'.$row_up['kod_pocztowy'].'" /></div>
<div>Podaj miasto: <input type="text" name="miasto" value="'.$row_up['miasto'].'" /></div>
<div
>Podaj adres e
-mail: <input type
="text" name
="e_mail" value
="'.$row_up['e_mail'].'" /></div
> <div>Podaj numer kontaktowy: <input type="text" name="telefon1" value="'.$row_up['telefon1'].'" /></div>
<div>Podaj alternatywny nr kontaktowy: <input type="text" name="telefon2" value="'.$row_up['telefon2'].'" /></div>...
i... na drugiej stronie (znaczy, gdzie dane idą):
$sql = "SELECT id,imie_nazwisko,adres,kod_pocztowy,miasto,e_mail,telefon1,telefon2,data FROM klienci ORDER BY data ASC;";
{
<tr>
<th>Nr</th>
<th>Imię i nazwisko</th>
<th>Adres</th>
<th>Kod pocztowy</th>
<th>Miasto</th>
<th>E-mail</th>
<th>Telefon</th>
<th>Telefon2</th>
<th>Data</th>
<tr>
<td width="10%">'.$row['id'].'</td>
<td width="10%">'.$row['imie_nazwisko'].'</td>
<td width="10%">'.$row['adres'].'</td>
<td width="10%">'.$row['kod_pocztowy'].'</td>
<td width="10%">'.$row['miasto'].'</td>
<td width="10%">'.$row['e_mail'].'</td>
<td width="10%">'.$row['telefon1'].'</td>
<td width="10%">'.$row['telefon2'].'</td>
<td width="10%">'.$row['data'].'</td>
<td width="10%"></td>
</tr>
</table>';
Problem w tym, że nic się nie wyświetla, dlaczego?