From your request I assume that you already have some code done. Show it.
Ronald :cool:
This is a part of my code, I am connecting to Oracle but I need to export the query I got to a xls file.
<tr>
<th height="54" scope="col">
<p align="left"><strong>Plazo</strong>:
<?
$db_conn=ocilogon("web","web","maprd1_solaris") or die("No he podido conectar");
?>
<select name="plazob" id="plazob" value=<?=$plazo?>>
<?
$cmdst1 = "select * from plazos where codigo=$plazo";
$plazo1 = ociparse($db_conn, $cmdst1);
ociexecute($plazo1);
while(OCIFetch($plazo1)) {
?>
<option value="<?=ociresult($plazo1,1)?>">
<?=ociresult($plazo1,2)?>
</option>
<? }?>
</select>
</p>
</th>
</tr>