Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Skrypt wywala unexpected T_STRING
--Bociek--
post
Post #1





Goście







Witam, przy tym skrypcie wywala mi błąd "Parse error: syntax error, unexpected T_STRING.." Jednak nie mam pojęcia gdzie tkwi błąd. Liczę na waszą pomoc (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)

CODE
$err_message = $user_name." ".$locale['426']."\n".$locale['427']." ."weblinks.php?cat_id=".$_POST['broken_weblink_cat']."&weblink_id=".$_POST['broken_weblink_id']."]".phpentities($_POST['broken_weblink_name'])."";
$result = dbquery("INSERT INTO ".$db_prefix."messages
(message_id, message_to, message_from, message_subject, message_message, message_smileys, message_read, message_datestamp, message_folder)
VALUES
('', '1', '".$user_id."', '".$locale['423']."', '".$err_message."', 'n', '0', '".time()."', '0')");}
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
webdice
post
Post #2


Developer


Grupa: Moderatorzy
Postów: 3 045
Pomógł: 290
Dołączył: 20.01.2007




Zmień

  1. <?php
  2. $locale['427']." ."weblinks.php?cat_id="
  3. ?>


na

  1. <?php
  2. $locale['427'] ."weblinks.php?cat_id="
  3. ?>
Go to the top of the page
+Quote Post

Posty w temacie
- -Bociek-   [php] Skrypt wywala unexpected T_STRING   25.01.2008, 19:13:21
- - webdicepl   Zmień [PHP] pobierz, plaintext <?php$locale...   25.01.2008, 19:15:59
- - -Bociek-   Dziękuje za pomoc, to najlepsze forum z jakim miał...   25.01.2008, 19:32:33


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: 4.10.2025 - 03:06