Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]problem z href
homer1981
post
Post #1





Grupa: Zarejestrowani
Postów: 22
Pomógł: 0
Dołączył: 15.07.2008

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


Mam pewien mały problem dlatego w temacie "przedszkole" :

Problem mój polega na tym ,że chciałbym zawartość linku wczytać w tym samym oknie co link.
Dokładniej można to zobaczyć na stronie automotoryzacja.pl którą własnie skłądam w całość.

<td class= 'dane'><a href=?ip=ogloszeniaODCZYT2.php?id=$id>wiecej</a></td> <---- to sie nie wczytuje
<td class= 'dane'><a href=ogloszeniaODCZYT2.php?id=$id>wiecej</a></td> <---- to sie wczytuje w nowym oknie

Z góry dzieki za pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
drzalek
post
Post #2





Grupa: Zarejestrowani
Postów: 170
Pomógł: 18
Dołączył: 6.03.2007

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


  1. <td class= 'dane'><a href=?ip=ogloszeniaODCZYT2.php&id=$id>wiecej</a></td>


Może o to Ci chodzi, bo nie wiem czy dokładnie zakumałem problem (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
Piotrwusek
post
Post #3





Grupa: Zarejestrowani
Postów: 399
Pomógł: 7
Dołączył: 11.06.2007
Skąd: Poznan

Ostrzeżenie: (20%)
X----


Attribute for <A ...>
TARGET = "_blank" | "_parent" | "_self" | "_top" | window name

* "_blank"
* "_parent"
* "_self"
* "_top"

http://www.htmlcodetutorial.com/linking/_A_TARGET.html
Go to the top of the page
+Quote Post
raptorx
post
Post #4





Grupa: Zarejestrowani
Postów: 29
Pomógł: 1
Dołączył: 28.09.2008
Skąd: Z drugiej strony kabla

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


a może kolego byś wpisywał od np. index.php (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
np możesz zrobić takie coś

Kod
<td class= 'dane'>
           <a href=index.php?ip=ogloszeniaODCZYT2.php&id=$id>wiecej</a>
</td>


brakuje jeszcze ' po href (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post

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 - 02:03