Get tweets with hashtags from user


Hi guys, I’m very new with twitter api, and I’d like to publish on my website only tweets published on a twitter user page with a particular hastag.
Which is the best way to get them? I’m already using the search_tweets method from codebird library, this is the query
’q=’ . $hashtag . ’ from:’ . $user . ‘&count=5’

but something strange happens… no results found

instead If I use ‘q=’ . $hashtag . ‘&count=5’ tweets are succesfully retreived… what I’m doing wrong?

Thank you for your help