Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php][html]linki
faxsilver
post
Post #1





Grupa: Zarejestrowani
Postów: 57
Pomógł: 0
Dołączył: 29.10.2006

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


witam mam taki kod :
  1. <?php
  2. echo "
  3. <p>***** ".$mnoz4." </p>
  4. <p><br /><br /></p>";
  5. ?>


i chcialbym aby po wyswietleniu ***** mnozenia pojawial sie link htmlowski(<a href=itd) za kazdym razem jak go gdzies umieszczam to wywala mi blad. jakies sugestie questionmark.gif
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
cadavre
post
Post #2





Grupa: Zarejestrowani
Postów: 472
Pomógł: 7
Dołączył: 7.12.2005
Skąd: Gliwice

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


  1. <?php
  2. echo '
  3. <p>***** '.$mnoz4.' </p>
  4. <a href="link.php">anything</a>
  5. <p><br /><br /></p>';
  6. ?>
O to Ci chodzi?


--------------------
Silesian PHP User Group - www.spug.pl
Symfony2, OAuth2, budowanie API - masz pytania? Pisz!
Go to the top of the page
+Quote Post
Cysiaczek
post
Post #3





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Sugeruje manual, a konkretnie rozdział o stosowaniu apostrofów i cudzysłowia w łączeniu z html'em. http://www.php.net/manual/pl/faq.html.php

aha. Pokaż jak umieszczasz ten link.

Pozdrawiam.


--------------------
To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness;
chaotic, confused, vulnerability, to inform yourself.
Think for yourself. Question authority.
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: 21.08.2025 - 20:31