E
Erik Johansen
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='(e-mail address removed)'")
But this throws the errormessage.
RemoteDatabase::Error: invalid environment
Does anybody knows how to get a value properly from the db?
Kind regards
-Erik
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='(e-mail address removed)'")
But this throws the errormessage.
RemoteDatabase::Error: invalid environment
Does anybody knows how to get a value properly from the db?
Kind regards
-Erik