473,414 Members | 1,631 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

nested tables in a form, need an Excel button moved over a column,has some php

Hi,
I have a page with a form that is included into a php page. It has
some php variables which are headers based on the user choices. In
the form I will send some mysql data columns but right now I'm just
formatting the form inside the tables. I added the table with the
form yesterday and a button. After the data comes from php server I
want the user to be able to click the Excel button at the bottom and
the form output will go to Excel not to the browser. So far so good.

In my page in the browser there is a menu to the left of the page.
That is one column. The data is a column to the right. Right now my
Excel button is under the menu column and I want it under the data
column of the table. I tried all day yesterday moving the <table</
tabletags and <TD</TDtags at different places to get the button
to be on the right under the second column not the first column. No
matter what I do it stays right under the menu column on the far left
of the page.

I wish I could show you the page. There is a logo at the top to the
left. There is a included included header under that says home,
login, logout. Then there is the menu column to the left, and a main
column to the right. The main column header changes according to
which page the user is on. The variable is MSG_carlist. That is just
the title bar over the 2nd column of data. The TPL_carnumbers is the
column of data. I want that silly little button under this.

I added the form and the button to capture the values of the user
selection to output to excel. The php/mysql part isn't done yet and
it is on the included page. Can someone help me get my markup
straight.

thanks for any help,

--------------
<table width="100%" border="0" cellpadding="0" cellspacing="0"
class="content">
<tr>
<td width=<?=GetMenuwidth()?>% valign="top" class="columL">
<table width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td class="titTable1"><div id="imgTitL"><img src="<?=
$SETTINGS['siteurl']?>images/transparent.gif" width="10" height="10"></
div>
<?=$MSG_276a; ?><!-- div id="imgTitR"><img src="<?=
$SETTINGS['siteurl']?>images/transparent.gif" width="10" height="10"></
div --></td>
</tr>
<tr>
<td class="table1"><div id="table1ul">
<? include $template_path."menu.php.html"; ?>
</div></td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
class="maincolum">

<tr>
<td class="titTable2"><div id="imgTitL"><img src="<?=
$SETTINGS['siteurl']?>images/transparent.gif" width="20" height="10"></
div>
<?=$MSG_carlist?></td>
</tr>

<tr>
<td>
<?=$TPL_carnumbers;?>
</td>
</table>
#


#
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">

<tr>
<td align='center'><?=$TPL_ids?></td>

<td valign='top'>
<table width="100%" border="0" cellspacing="0"
cellpadding="2">

<tr>

</table>
</td>
</tr>

<tr>
<td >
<img SRC='<?=$SITEURL."images/xl2.jpg"?>' <INPUT
TYPE="submit" VALUE="Open in Excel" ALT="Open in Excel" NAME="assign"
class="button">
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>

</table>
Jul 12 '08 #1
0 2231

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew | last post by:
With command-line interface ( 3.23.37, UNIX Socket ) all is well with column aliasing. However, column aliases disappear in Excel, over ODBC, when there are multiple (joined) tables in the query. ...
1
by: NA | last post by:
Is it possible to have adjustable tables (not Access tables per se) but those in Ms Word or Excel based on nexted forms three deep? In other words, if I have a main form, Repair History, both the...
0
by: Jerry K via DotNetMonster.com | last post by:
I'm creating a pivot table using vb.net and the data is from sqlserver (desktop). I have been successful at creating the pivot table, which includes a 'date' column field. I'd like to group the...
5
by: BMeyer | last post by:
I have been losing my mind trying to parse an XML document (with nested child elements, not all of which appear in each parent node) into a DataGrid object. What I want to do is "flatten" the XML...
1
by: asilverpeach | last post by:
Hey Guys! Found some great scripts here on this topic but have to make to changes to the code that I can't seem to figure out. First, In the following code clicking on the headers shows the...
6
by: Fuzzydave | last post by:
I am back developing futher our Python/CGI based web application run by a Postgres DB and as per usual I am having some issues. It Involves a lot of Legacy code. All the actual SQL Querys are...
3
by: McKirahan | last post by:
I am using ASP to generate an HTML table from a database. I use FSO to output a file with an XLS extension then open it. I can set the column width and row height; I can set the font family,...
1
by: smaczylo | last post by:
Hello, I've recently been asked to work with Microsoft Access, and while I feel quite comfortable with Excel, I'm at a complete loss with databases. If someone could help me with this issue I'm...
1
by: CoolFactor | last post by:
MY CODE IS NEAR THE BOTTOM I want to export this Access query into Excel using a command button on an Access form in the following way I describe below. Below you will find the simple query I am...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.