List:General Discussion« Previous MessageNext Message »
From:Thimble Smith Date:March 20 1999 7:08pm
Subject:Re: Help with query, plz
View as plain text  
On Sat, Mar 20, 1999 at 08:03:24PM +0100, Michal Ludvig wrote:
> Hmm, my version of MySQL (3.22.19a) seems to support only 
> "SELECT ip INTO OUTFILE xxx ...". What a pitty! Has it changed in 3.22.20?

It's:

INSERT INTO tmp_table SELECT ...


> I hope not via a cycle  "$i=0; while ($sth->fetchrow()) {$i++;}" ...

No, you can do:  $sth->rows;  But make sure that you are using
mysql_store_result (the default), and not mysql_use_result.

Tim
Thread
Help with query, plzMichal Ludvig20 Mar
  • Re: Help with query, plzThimble Smith20 Mar
    • Re: Help with query, plzMichal Ludvig20 Mar
    • Re: Help with query, plzMartin Ramsch20 Mar
Re: Help with query, plzEd Carp20 Mar
  • Re: Help with query, plzMichal Ludvig20 Mar
    • Re: Help with query, plzThimble Smith20 Mar
Re: Help with query, plzEd Carp20 Mar
  • Re: Help with query, plzMartin Ramsch20 Mar
Re: Help with query, plzEd Carp20 Mar