Do searchengines rate content in (mySQL-) databases?

If I create a page, with all the content like texts and image-sources stored in a MySQL DB and retrieve this content with php to build-up the html, will search engines be able to read my content and rate it properly?

Since browsers don’t interpretate php but just the outcome, I guess search-enginges will do the same. But am I right?

thanx in advance!