Re: PHP 5.01 and HTML

From: Date: Fri, 20 Aug 2004 19:53:39 +0000
Subject: Re: PHP 5.01 and HTML
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194368@lists.php.net to get a copy of this message
> <SELECT name="Company List" multiple size="8"> > <?php > $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; > // This doesn't get listed. > "<OPTION>".$Name; > $rs->MoveNext(); > } > ?> > </SELECT> print "<OPTION>".$Name;

« previous php.general (#194368) next »