Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Błędny kod, unexpected T_STRING
T00kie
post
Post #1





Grupa: Zarejestrowani
Postów: 10
Pomógł: 0
Dołączył: 17.02.2009

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


  1. <?php
  2.    
  3.    if (!tep_session_is_registered('customer_id')) {
  4.    
  5.          echo "<form name="login" method="post" action="" . tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL') . "">  
  6.    
  7.                  " . ENTRY_EMAIL_ADDRESS . "
  8.    
  9.                <input type="text" name="email_address" maxlength="96" size="17" value="">
  10.    
  11.                  " . ENTRY_PASSWORD . "
  12.    
  13.                <input type="password" name="password" maxlength="40" size="17" value="">
  14.    
  15.                  " . tep_draw_separator('pixel_trans.gif', '9', '4') . '</td><td style="padding-top:10px;" class="main">' . tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN, 'SSL') . "";      
  16.    
  17.    }
  18.    
  19.    else {
  20.    
  21.      echo tep_customer_greeting();
  22.    
  23.    }
  24.    
  25.              // echo tep_draw_separator('pixel_trans.gif', '9', '4') . "<BR><A HREF="" . tep_href_link(FILENAME_CREATE_ACCOUNT, '','SSL') . ""><b>Nowe konto</b>" . "</A>";
  26.    
  27.    ?>

coś jest źle w pierwszym echo ale co?

Ten post edytował T00kie 23.02.2009, 20:55:22
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
piotrooo89
post
Post #2


Newsman


Grupa: Moderatorzy
Postów: 4 005
Pomógł: 548
Dołączył: 7.04.2008
Skąd: Trzebinia/Kraków




zapoznaj się z manualem i jakimś kursem:

  1. <?php
  2. echo '<form name="login" method="post" action="'.tep_href_link(FILENAME_LOGIN, 'action=process', 'SSL').'">
  3.    '.ENTRY_EMAIL_ADDRESS.'
  4.    <input type="text" name="email_address" maxlength="96" size="17" value="">
  5.    '.ENTRY_PASSWORD.'
  6.    <input type="password" name="password" maxlength="40" size="17" value="">
  7.    '.tep_draw_separator('pixel_trans.gif', '9', '4').'</td>
  8.    <td style="padding-top:10px;" class="main">'.tep_image_submit('button_login.gif', IMAGE_BUTTON_LOGIN, 'SSL').'';
  9. ?>
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: 26.12.2025 - 03:57