Re: need some help with one of your fonction

From: Date: Sat, 11 Jan 2003 11:45:10 +0000
Subject: Re: need some help with one of your fonction
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14933@lists.php.net to get a copy of this message
Please ask support questions on our support channels. See http://php.net/support for a list of them... Goba [one webmaster@php.net] ----- Original Message ----- From: <Anakkin@aol.com> To: <webmaster@php.net> Sent: Friday, January 10, 2003 10:17 PM Subject: need some help with one of your fonction > hello, i'm a french developper , i love you language and what we can do with > it. so thank > But i have a problem with it.. > a problem with the odbc_num_rows() fonction > it always returns "-1" so an error : > my source code is just a test page. it test the connexion (which run), i do a > request (select * from test : run too) but odbc_num_rows don't run > can you explain me why? > <? > $res = odbc_connect("chu","",""); > $req="SELECT * FROM test"; > $resultat = odbc_do($res,$req); > $nb = odbc_num_rows($resultat); > echo $nb; //returns -1 > ?> > I tried to convert my access database in 1997 format because i work under > access XP (2002) but the problem doesn't seems to be here. > i work under access, and windows XP pro, and easyPHP > connexion ok, request ok but, num rows error......why? > > maybe because i use easyPHP... > Please help me because it's a big Intranet project for my training period and > i can't waste my time > thank you > Rodolphe > Anakkin@aol.com > > Sorry for faults.. i learns (22 years old) >

« previous php.mirrors (#14933) next »