Re: How do I import tables into MySQL from web page ...

From: Date: Thu, 11 Jul 2002 02:04:58 +0000
Subject: Re: How do I import tables into MySQL from web page ...
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-106991@lists.php.net to get a copy of this message
But if system() thinks it is a success because the command executed, even though MySQL returns an internal error on the command line, why is'nt the last line of the MySQL error message stored in the variable as the system() manual suggests it should be when system() thinks it is a success? "Analysis & Solutions" <danielc@analysisandsolutions.com> wrote in message news:20020710232605.GA22872@panix.com... > On Wed, Jul 10, 2002 at 12:14:58PM -0700, Fargo Lee wrote: > > > > when made to fail MySQL does return an error on the command line yet the > > variable does not hold FALSE as the manual suggests it should or anything > > else. > > The behaviour of returning FALSE upon failure has to do with the system() > call not being able to be made due to things like the command itself not > being able to execute, such as when the name of the program is wrong. > But, since the program in this case actually executed, there's no failure. > > --Dan > > -- > PHP classes that make web design easier > SQL Solution | Layout Solution | Form Solution > sqlsolution.info | layoutsolution.info | formsolution.info > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

« previous php.general (#106991) next »