Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL] redeclale safe ()
edwarpan
post 7.05.2010, 08:01:29
Post #1





Grupa: Zarejestrowani
Postów: 66
Pomógł: 0
Dołączył: 28.04.2010

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


Witam, znów problem.
  1.  
  2. function safe($input) {
  3.  
  4. $valid_input = mysql_escape_string($input);
  5.  
  6. return $valid_input;
  7.  
  8. }
  9.  
  10. ?>


Jest to kawałek, w tym który podałem wyskakuję błąd:

  1. Fatal error: Cannot redeclare safe() (previously declared in /home/mentos/domains/x.pl/public_html/config.php:50) in /home/mentos/domains/x.pl/public_html/config.php on line 56


Po dopisaniu
mysql_error
W 1 linijce podanej:
  1. Parse error: syntax error, unexpected T_LOGICAL_OR, expecting

A w 2 linijce
  1. Parse error: syntax error, unexpected T_STRING in




Bez mysql error
Cannot redeclare safe() (previously declared in /home/mentos/domains/panel.lockerz.e-zdunek.pl/public_html/config.php:50) in xxxx.pl on line 56

W w 56 linii jest klamra }

Ten post edytował edwarpan 7.05.2010, 08:03:11
Go to the top of the page
+Quote Post

Posty w temacie


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: 14.08.2025 - 13:24