Hello All, Im just after a bit of guidance i've been stuck on this for a while. I am using a read only textbox on a website drawing information form a mysql database hoping to fill the textbox. Im hoping to either have a link or a button to call a php function that will increase a counter pulling the next bit of information captured from the database, but this is not the problem i can solve this. The problem is I cant seem to figure out how in a form to have an onclick or even a link to call a php function within the webpage which is written in php. THis function will just call another line of code and refill the text box. I cant seem to figure out how to for e.g create nextthree(); with the click of a mouse, maybe ive spent to much time on it today. Then again im thinking this perhaps should be done in Javascript after the database table has been taken through php but how to take the variable and contents from php and transfer them directy through to javascript. Any guidance would be fantastic. Kind Regards, Saphiire