Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] podstawianie zmiennej, pod link
-Gość_andi_*-
post
Post #1





Goście







witam (IMG:http://forum.php.pl/style_emoticons/default/dry.gif) mam male, glupie pytanie... jezeli otrzymuje z formularza dane tzn np. numer gg: 123456 i jest on przypisany pod zmienna $gadu to jak zrobic, aby podstawic ta zmienna do linka aby wyszedl link
echo '<A href="gg:'$gadu'">ble ble ble</A>'; (?) tzn "gg:123456" ( echo '<A href="gg:123456">ble ble ble</A>';
(IMG:http://forum.php.pl/style_emoticons/default/blinksmiley.gif) pomocy
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
-Gość-
post
Post #2





Goście







moze i prosciej.. ale caly czas wywala blad "Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' ..." w tejj lini
  1. "<a href='gg:<?php echo $gg; ?>'><img border="0" src="page/50/graffika/gadu.gif" width="32" height="32"></A>"
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: 28.12.2025 - 19:34