Ver Mensaje Individual
  #8 (permalink)  
Antiguo 05/02/2005, 10:31
Avatar de SiR.CARAJ0DIDA
SiR.CARAJ0DIDA
 
Fecha de Ingreso: junio-2004
Ubicación: Acá
Mensajes: 1.166
Antigüedad: 19 años, 10 meses
Puntos: 4
bueno cualkier cosa me escribe en el txt, me escribe la palabra array...

me queda asi:

$com[0] = "Array";
$com[1] = "Array";
$com[2] = "Array";



y lo hago asi yo

Código PHP:
include($_SERVER['DOCUMENT_ROOT']."/Replays/Downloads-Ratings.txt");
$i $_GET['rep'];
..
..
$com str_replace("\n""<br>"$_POST['Comment']);
if (!
is_array($comments[$i])) $comments[$i] = array($com);
else 
$comments[$i][] = $com;
...
...
for (
$j=0;$j<count($comments);$j++) fwrite($d"\$comments[$j] = \"$comments[$j]\";\r\n");