the quick answer: yes, it is possible. using
I have to support mdhall's remark though. your bandwidth will be used much more since instead of just having the user request a page, and that page being sent to the user, you'd have the user requesting your page, the page requesting data from the database, the data from the database being sent back to the server and then the page being sent back to the user.
also, if the database stores any sensitive information, it'd be a lot less secure since all that information will travel over the Internet when php is talking to the database.
but... it is possible
