A bd problem
| From: | Carlos Castillo | Date: | Thu, 04 Sep 2003 21:34:27 +0000 |
| Subject: | A bd problem | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-161694@lists.php.net to get a copy of this message | ||
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
<mailto:ccastillo@imagine.com.co>
ccastillo@imagine.com.co
____________________________________
Su Aliado Efectivo en Internet
<http://www.imagine.com.co/> 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
____________________________________
<http://skins.hotbar.com/Skins/mailskins/st/042802/042802hitech2_1.gif>
_____
<http://promos.hotbar.com/promos/promodll.dll?RunPromo&El=hotbar%5felement%3
bst%3b&SG=sub270&RAND=4007> Upgrade Your Email - Click here!