If I understand you correctly, then you could try something like this:
===Page 1:
Select info to view...
Name
Email
City
===Page 2:
$query = 'SELECT ';
$first = true;
foreach ($columns AS $value) {
if (!$first) {
$query .= ', ';
}
else {
$first = false;
}
$qu
> From: R.S. Herhuth
> Sent: Thursday, April 11, 2002 4:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Dynamic querys 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 nam