Dear ALL , i am trying to do this :
sup = db( (db.Supplements.Category == (request.args(1)).replace('_',' ')) & (db. Supplements.Users == str(request.args(0)) or 'Both') ).select(db.Supplements.ALL) But its not working , any help ??? REgards, --
Dear ALL , i am trying to do this :
sup = db( (db.Supplements.Category == (request.args(1)).replace('_',' ')) & (db. Supplements.Users == str(request.args(0)) or 'Both') ).select(db.Supplements.ALL) But its not working , any help ??? REgards, --