How to display an ntext from sql server in a web page



I have a series of text files stored in an sql database as the type ntext, I would like to call my stored procedure in my php web page to display the ntext file when i click a button.

Does anyone have any advice on what to look at or how to go about carrying this out?

Many Thanks


AJAX (since you want to do a server action from a client event)