I'm new to php and I'm trying hard to get a grasp on pulling data from SQL Server.
I'm looking for an efficient method for making dynamic queries to SQL server. Basically what I have created so far is a page that dynamically builds all of the column names of a database. I have assigned each a unique variable name. When the user selects the check box next to the name and submits the form, I am using the HTTP_POST_VARS() to explode out the variables on the following page. What I need to do though is create a way to dynamically query the DB only returning the selected columns. What is an efficient way of doing this? Does anyone know of any tutorials or examples that can get me close? Ron -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php