473,721 Members | 1,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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=<?=GetMen uwidth()?>% valign="top" class="columL">
<table width="100%" height="100%" border="0" cellpadding="0"
cellspacing="0" >
<tr>
<td class="titTable 1"><div id="imgTitL"><i mg src="<?=
$SETTINGS['siteurl']?>images/transparent.gif " width="10" height="10"></
div>
<?=$MSG_276a; ?><!-- div id="imgTitR"><i mg 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="maincolu m">

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

<tr>
<td>
<?=$TPL_carnumb ers;?>
</td>
</table>
#


#
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" >
<form action="<?=$_SE RVER['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='<?=$SITEUR L."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 2246

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

Similar topics

0
732
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. I run the following query with aliased columns with CLI: select table1.c1 as 'pet category', table1.c2 as 'item', table1.c3 as 'quantity', table2.c2 as 'attendant' from table1 left outer join table2 on (table1.c1=table2.c1);...
1
2489
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 row and columns would grow accordingly. Column Heading: Parts Row Heading: Repair Description In this case, I may only know 25% of the parts when creating the table after
0
770
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 date column field by months and quarters, but can't come up with the correct code. Here is the code I've written to create the pivot table. Any help to code grouping the date column field would be appreciated. Thanks, Jerry
5
2983
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 document into a text document with a single row for each parent node (that has all of the values from all of the child nodes for that row) The DataView within VS 2005 IDE displays my 15 or so child tables - and knows that some parent rows...
1
16756
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 div information. I want a nested show hide element though. So when you click on "Do you have carpets to be cleaned?" Small Rooms & Medium Rooms appears (that I got working) But Then when you click on Small rooms or medium rooms i want the three lines...
6
2505
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 stored in the .py files and run in the .cgi files. I have the problem that I need to construct a row from two seprate SQL Querys, I have tried combining the two Querys but all that does is create a Query that returns nothing after a long period...
3
1848
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, size, and weight. I know I can include formulas in a "cell". What else can I do when I generate the table that will take effect when the file is opened in Excel?
1
9777
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 having I'd be most appreciative. The database is already constructed, I'm just wanting to export the data to an excel file. In short, I'm hoping to export two Tables (or queries...not sure which to use - they both seem to have the same data) in...
1
10497
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 trying to export to Excel using a command in an Access Form. RowID strFY AccountID CostElementWBS 1 2008 1 7 2 2008 1 7 I want to...
0
8732
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9219
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9133
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8011
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6673
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5987
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3192
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2580
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.