I hope can help me with this problem, I am using fwrite to generate
line within a file, the problem is that when treatment to fill the
lines with attributes of objects that criteria gives back to me, this
generates them bad.
Example:
$clientes = array("Banco Pacifico (centro) 4455  -","hola2");

Well generated
foreach ($clientes as $clientes){
$nombre = $clientes->getDescripcionClienteSucursal();
fwrite($file,$nombre."\r\n");
}

Bad Generated!!???
$clientes = ClieClienteSucursalPeer::doSelect(new Criteria());
foreach ($clientes as $clientes){
fwrite($file,$clientes->getDescripcionClienteSucursal()."\r\n");
}


If full the lines with data of an array this generate the file well,
but full the lines with attributes of objects of criteria this are
generated bad.

I have reviewed the code line by line and single when I use objects to
fill generate it the error.

Any comments is welcome.

Best Regards.

Ruthsbel


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to