Todd Benson
9/22/2008 11:19:00 PM
On Mon, Sep 22, 2008 at 6:51 AM, Erik Johansen
<jon.erik.johansen@finn.no> wrote:
> Hello.
>
> Im trying to fetch a value from a field in our database, using this
> code.
>
> selected = @site.db.select("select car from car_sale where id=402 AND
> email='a1@a.com'")
>
> But this throws the errormessage.
> RemoteDatabase::Error: invalid environment
>
> Does anybody knows how to get a value properly from the db?
You specify here your table and fields, but no mention of the
database. How are you connecting to the database?
Todd