Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Problem z podstrona htmlspecialchars
xXxGrandxXx
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 23.11.2012

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


Witam (IMG:style_emoticons/default/smile.gif)
Mam problem ktory polega na tym ze ani obrazek ani opis nie są wyswietlane, natomiast div pokazuje sie normalnie.
ID - jest pobierane z linku np: index.php?id=2

  1. $ids = htmlspecialchars($_GET["id"]);
  2. $query = mysql_fetch_array(mysql_query("SELECT FROM farmer_nasiona WHERE nasiono = '$ids' "));
  3.  
  4.  
  5. if($_GET['id']){
  6.  
  7. echo "
  8. <div id='poka'><center><br>
  9. <img src='mhpic/".$query['identyfikator'].".jpg' width='200'/>
  10. <font size='2'>".$query['opis']."</font>
  11. </div>
  12. ";
  13.  
  14. }

Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 23.08.2025 - 04:44