Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php] Jak to połączyć ... banał !, proszę o pomoc pilne
S-i-R-o
post
Post #1





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 19.02.2005

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


Witam, ajk propawnie połączyć takie kody

  1. <?php
  2. global $userpro;
  3. echo '<a href="'.$userpro->permalink( $comment->user_id ).'">'.userpro_profile_data('display_name', $comment->user_id).'</a>'; ?>


zamiast
'.userpro_profile_data('display_name', $comment->user_id).'

chce by była wyświetlana miniaturka
czyli:
  1. <?php echo get_avatar($comment,50); ?>


jak to porpawnie napisać, moje próby i wiedza powodują error :-)

chodzi mniejwiecej o to ale żeby działało

  1. <?php
  2. global $userpro;
  3. echo '<a href="'.$userpro->permalink( $comment->user_id ).'"><?php echo get_avatar($comment,50); ?></a>'; ?>
  4.  
Go to the top of the page
+Quote Post
kpt_lucek
post
Post #2





Grupa: Zarejestrowani
Postów: 428
Pomógł: 77
Dołączył: 10.07.2011
Skąd: Warszawa

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


Cytat(S-i-R-o @ 17.11.2014, 18:57:33 ) *
[...]
  1. <?php
  2. //[...]
  3. echo '<a href="'.$userpro->permalink( $comment->user_id ).'"><?php echo get_avatar($comment,50); ?></a>'; ?>
  4.  

Polecam przeanalizować tę linijkę jeszcze raz smile.gif


--------------------


Cytat
There is a Bundle for that
Lukas Kahwe Smith - October 31th, 2014
Go to the top of the page
+Quote Post
S-i-R-o
post
Post #3





Grupa: Zarejestrowani
Postów: 11
Pomógł: 0
Dołączył: 19.02.2005

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


Dobra, dziękuje,
dałem rade :-)
  1. <?php
  2. global $userpro;
  3. echo '<a href="'.$userpro->permalink( $comment->user_id ).'">'.get_avatar($comment,50).'</a>'; ?>


pozdrawiam
Go to the top of the page
+Quote Post

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: 22.08.2025 - 02:13