Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> drukowanie BLOBa - blad w skrypcie
źrebak
post
Post #1





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 4.05.2005

Ostrzeżenie: (0%)
-----


  1. <?php
  2.  header('Content-type: image/JPEG');
  3.  
  4.  $sql = &#092;"SELECT foto FROM zdjecia WHERE unikat = 'PSK00000000000000581'\";
  5.  $result = @mysql_query($sql, $db);
  6.  $dane = @mysql_result($result, 0, 'foto');
  7.  $row = mysql_fetch_array ($result);
  8.  $num_results = mysql_num_rows($result);
  9.  
  10.  echo $dane;
  11. ?>


przegladarka zwraca mi komunikat:
Kod
Warning: Cannot modify header information - headers already sent by (output started at /home/.../ftp/unikat.php:2) in /home/.../ftp/unikat.php on line 14


a pod komunikatem - krzaki...
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 19:47