Re: returning multiple resultsets from mysql

From: Date: Tue, 30 Aug 2005 07:14:44 +0000
Subject: Re: returning multiple resultsets from mysql
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20650@lists.php.net to get a copy of this message
Adam Duston wrote:
$q = $db->query("SELECT * FROM mapPointTypes WHERE id = 1; SELECT * FROM mapPointTypes WHERE id = 2;");
Why not SELECT * FROM mapPointTypes WHERE id = 1 OR id = 2 ? -- Massimiliano Arione :: http://garak.it :: * No Word * http://gnu.org/philosophy/no-word-attachments.html * No HTML * http://efn.no/html-bad.html

« previous php.pear.general (#20650) next »