Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Parse error: syntax error, unexpected T_STRING, expecting ',' or ';', Cos nie tak z kodem
Ziajek
post
Post #1





Grupa: Zarejestrowani
Postów: 6
Pomógł: 0
Dołączył: 17.07.2007

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


Nie chce mi zadzialac ten kod. Czy widzicie jakies bledy? Wyskakuje mi ze w drugiej linijce jest blad


echo "
<form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post">
<input type="hidden" name="bn" value="AMPPFPWZ.301">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<input type="hidden" name="business" value="michalgolda@o2.pl" >
<input type="hidden" name="item_name" value="$wiersz[Nazwa]">
<input type="hidden" name="item_number" value="">
<input type="hidden" name="amount" value="$wiersz[Cena]">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="undefined_quantity" value="0">
<input type="hidden" name="return" value="http://ko4life.com">
<input type="hidden" name="cancel_return" value="http://ko4life.com">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="image" src="images/sc-but-03.gif" border="0" name="submit">
</form>
" ;
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
bim2
post
Post #2





Grupa: Zarejestrowani
Postów: 1 873
Pomógł: 152
Dołączył: 9.04.2006
Skąd: Berlin

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


jakiego edytora używasz? Porządny edytor błędy by "wyłapał" (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)

Rozpoczynasz echo podwójnym apostrofem a póxniej masz type="hidden"
daj wszedzie w echo \"
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: 2.10.2025 - 21:21