Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z kodem, Cannot redeclare fputcsv() in /serwis/lib/common.php on line 926
adioband
post
Post #1





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 14.03.2010
Skąd: Lublin

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


  1. }#end foreach
  2. # strip the last deliminator
  3. $line = substr($line, 0, (strlen($deliminator) * -1));
  4. # add the newline
  5. $line .= "\n";
  6. # we don't care if the file pointer is invalid,
  7. # let fputs take care of it
  8. return $line;
  9. }#end fputcsv()
  10.  
  11. function fputcsv ($fp, $array, $deliminator=",") {
  12. return fputs($fp, putcsv($array,$delimitator));
  13. }#end fputcsv()
Powód edycji: [Kshyhoo]: bb-code
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
adioband
post
Post #2





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 14.03.2010
Skąd: Lublin

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


po zmianie mam kolejny błąd

Fatal error: Cannot redeclare CSQLAdmin::$functions in /serwis/lib/sqladmin.php on line 33

  1. function UploadFile($source, $destination , $name ="") {
  2. $name = $name ? $name : basename($source);
  3. $name = FileExt($name);
  4. $name[2]= $name[0];


przepraszam nie ten kod wkleiłem

  1. var $functions;
  2.  
  3.  
  4. function CSQLAdmin($section , $templates , $db , $tables , $extra = "") {
  5. global $_CONF;
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: 3.10.2025 - 09:41