Thanks alot, worked great. You're the man!!
"Matt M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >
> > > $db = new COM("ADODB.Connection");
> > $dsn = "DRIVER=SQL Server; SERVER=D63WV941;UID=sa;PWD=sa;
> > DATABASE=BINDER";
> > $db->Open($dsn);
> >
>
>$db = new COM("ADODB.Connection");
> $dsn = "DRIVER=SQL Server; SERVER=D63WV941;UID=sa;PWD=sa;
> DATABASE=BINDER";
> $db->Open($dsn);
> $rs = $db->Execute("SELECT * from company");
> while (!$rs->EOF)
> {
> $Name = $rs->Fields['Name']->Value
Hello everyone. I have the following script that creates a listbox. My box
appears, but I can't get any data into it. Can someone let me know what I'm
doing wrong.
Open($dsn);
$rs = $db->Execute("SELECT * from company");
while (!$rs->EOF)
{
$Name = $rs->Fields
3 matches
Mail list logo