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

From: Date: Thu, 11 Jul 2002 08:33:16 +0000
Subject: Re: How do I import tables into MySQL from web page ...
Groups: php.general 
Request: Send a blank email to php-general+get-107070@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? *MAYBE* system() only "catches" stdout, and not stderr... Though I doubt it. Is there a blank line at the end of the MySQL error output when you do it wrong in the shell? Use the exec() I just posted and get *ALL* your output, *AND* the actual OS error (or 0) code returned. -- Like Music? http://l-i-e.com/artists.htm Off-Topic: What is the moral equivalent of 'cat' in Windows?

« previous php.general (#107070) next »