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

From: Date: Wed, 10 Jul 2002 07:07:25 +0000
Subject: Re: How do I import tables into MySQL from web page ...
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-106689@lists.php.net to get a copy of this message
On Tue, Jul 09, 2002 at 11:41:47PM -0700, Fargo Lee wrote: > got it to assign a 0 (success) or 1 (failure) to the return_var argument as > you suggested so I am happy. Good! > What mixed me up and I still don't understand is the manual entry for > system() says ... > > "Returns the last line of the command output on success, and FALSE on > failure." > > When it says it "Returns", where does it return this information and how can > it be captured for comparison? The thing that's tripping you up is, I believe, executing MySQL programs at a prompt doesn't produce any visible output. But, if you executed a command that returns some output to STDOUT, like "ls", you'd see the last line of output therefrom in the "Return." --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 (#106689) next »