I have a really simple (but possibly silly question!). If a person has php installed on their webserver, but no MySQL database I can allow that user external access the MySQL database on the external host and run queries back to their webserver right and output that data back on their site on a webpage?

Also would there be any major problems here in the time the queries take to process?