That's not really what I mean, and yes I use MySql.
I'll try to explain better
In my database I type title_query(3), in my code I query the info from the database to the page, but before it ouputs the data to the website I want title_query($id) to be executed.
EDIT:
quote:
Originally posted by Lee Jeffery
i dont get why you need to insert it and get it back out again, if youre inserting it you obviously have it in a variable so why not just output it normally?
Because all the data is in the database, and for every id I need a different query, like title_query(3) or title_query(4)