Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Zmienna do pola tekstowego
vojtek_
post
Post #1





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

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


Jak wykonac cos takiego:
Mam zmienna $file_url
I pole tekstowe
Kod
<input size="100px" class="edit" name="new_avatar" value="" />   

I teraz zeby w plou VALUE wyswietlalo zawartosc zmiennej $file_url, w tym przypatku adres strony (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)

Ten post edytował vojtek_ 17.03.2005, 12:54:09
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
dasko
post
Post #2





Grupa: Zarejestrowani
Postów: 179
Pomógł: 0
Dołączył: 9.11.2004

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


  1. <?php
  2.  
  3. echo '<input size=\"100px\" class=\"edit\" name=\"new_avatar\" value=\"' . $file_url . '\" />';
  4.  
  5. ?>


o tak (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

Ten post edytował dasko 17.03.2005, 12:58:25
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: 18.10.2025 - 13:13