Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Zmienne
Lethys
post
Post #1





Grupa: Zarejestrowani
Postów: 642
Pomógł: 2
Dołączył: 9.03.2006

Ostrzeżenie: (30%)
XX---


Chce wyswietlic rysunek do ktorego mam link w bazie


  1. <?php
  2. print "<b><center>$jajko[nazwa]</b><br>";
  3. print "<center><img border="0" src="$jajko[rys]" width="36" height="36">
  4. ";
  5. ?>


nazwe mi wyswietla ale coz zle jest z kodem wyswietlania tego rysunku (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)

Cytat
Parse error: parse error, unexpected T_LNUMBER in /var/www/vhosts/lethys.xxl-web.pl/httpdocs/pirates/profil.php on line 33
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
UDAT
post
Post #2





Grupa: Zarejestrowani
Postów: 442
Pomógł: 0
Dołączył: 27.12.2005

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


Podstawy php.

  1. <?php
  2. print "<center><img border="  0 " src="  $jajko[rys]  " width="  36  " height=" 36 ">
  3. ?>


Masz poodzielane spacjami stringi. Pomyśl.
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: 7.10.2025 - 08:40