A sql 2000 bd problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI, i have the following problem
 
Im working with sql server 2000 in a windows xp pc, then in the bd i have a
table called "noticias" and a text type field, when i insert into the field
everything goes rigth, but when i try to get the info of teh field, i can
get all the info, is like the variable is not enough to save all the info
but im sure that all the info is in the bd, the code is the following:
 
 $consulta = new BaseDatos;
 $consulta->connect();
 $sql = "select * from Noticias where Id=".$_GET["id"];
 $res = $consulta->query($sql);
 $not = $consulta->fetch_row($res);
 $not["Descripcion"] = eregi_replace(chr(13),"<br>",$not["Descripcion"]);
echo $not["Descripcion"];

when i do an echo for $not["Descripcion"] i can see that it doesnt have all
the info of the field Descripcion on the table noticias.
 
can you help me please?, is urgent!
 
thanks!
 
Carlos A. Castillo.
Ingeniero de desarrollo
ccastillo@imagine.com.co
____________________________________

Su Aliado Efectivo en Internet
www.imagine.com.co
(57 1)2182064 - (57 1)6163218
Bogotá - Colombia 
____________________________________
- Soluciones web para Internet e Intranet
- Soluciones para redes
- Licenciamiento de Software
- Asesoría y Soporte Técnico

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux