Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php] Skrypt wywala unexpected T_STRING
--Bociek--
post 25.01.2008, 19:13:21
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 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
webdice
post 25.01.2008, 19:15:59
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
--Bociek--
post 25.01.2008, 19:32:33
Post #3





Goście







Dziękuje za pomoc, to najlepsze forum z jakim miałem przyjemność mieć do czynienia smile.gif
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 Wersja Lo-Fi Aktualny czas: 19.07.2025 - 08:46