Re: Fw: [PHP] ERROR IN THIS CODE

2004-09-05 Thread raditha dissanayake
Is this part of a guessing game?
do you want us to guess the error message you are seeing?
Jorge wrote:
include('include/conexion.php');
   include('include/conf.php');
   $sql = "SELECT * FROM 
oposicions WHERE id = '$id'";> I think that the 
problem is here.

   $result = mysql_query($sql, 
$link);

   while( 
($row=mysql_fetch_object($result)) ) {
   $nome = $row->nome;

In my database exist the table oposicions with a field called id.My 
php version es 4.3.38 and of mysql is 3.23.58

thank you in advance

--
Raditha Dissanayake.

http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Fw: [PHP] ERROR IN THIS CODE

2004-09-05 Thread Jorge
include('include/conexion.php');
   include('include/conf.php');
   $sql = "SELECT * FROM oposicions 
WHERE id = '$id'";> I think that the problem is here.

   $result = mysql_query($sql, 
$link);

   while( 
($row=mysql_fetch_object($result)) ) {
   $nome = $row->nome;

In my database exist the table oposicions with a field called id.My php 
version es 4.3.38 and of mysql is 3.23.58

thank you in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


FW: [PHP] error connecting to oracle.

2002-10-28 Thread Faisal Abdullah


>
>
> > -Original Message-
> > From: Gerald Roehrbein/Pctdmn [mailto:groehrbein@;bigfoot.com]
> > Sent: Monday, October 28, 2002 10:50 AM
> > To: Subodh Gupta
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] error connecting to oracle.
> >
> >
> >
> > Hello,
> >
> >
> > at Solaris and Windows NT it's first necessary to install the
> > Oracle Client
> > software

I think this goes for all operating systems. The libraries required
are in oracle itself. No oracle, no libraries.

> >and then to configure PHP properly the way it is documented!
> > I've done until know only three PHP installations with Oracle
> support but
> > all three installations where very simple!
> >
> > Remember you have to set the Oracle Environmentvariables ($ORACLE_BASE,
> > $ORACLE_HOME, $TNS) before starting the WEB Server or PHP! For
> > apchache you can do this in apachectl or a subroutine you call from
> > apachectl.

Be sure to set the appropriate user and group (who has the environment
variables set) in httpd.conf

> >In a windows environment you have to set the variables
> > with the
> > appropriate tools (System/Environment/Add Variables)!
> >
> > In my cases this was  everything to do. Try your Oracle Client
> > Installation
> > with tnsping and sqlplus at your machine! This should work
> before you try
> > to configure PHP.
> >
> > best regards
> > Gerald
> >
>
Regards,
Faisal

__


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




FW: [PHP] Error

2002-08-15 Thread Jay Blanchard



-Original Message-
From: Christian Ista [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:17 PM
To: 'Jay Blanchard'
Subject: RE: [PHP] Error


> How large is the page, can you send more? If not, can ou put line
numbers
> on the lines?

Not a of lines 20 for the moment but more soon.

The complete file (in English)


the French version








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