<TD> Question

R

rupart

Hi,
I am planning to insert data into column depending on
which column.For example i wanted insert data in row 1
column 23, and row1 column 25..
Can i use sth like this:
******************************************
if column=25 then
for i=1 to 25 'goto the 25th column and insert data there
<td></td>
next i
write "fruits"...
*********************************************

will it work?if not wht wud be better idea in inserting
data in such scenario as above?

TIA
 
T

Tom B

I think you need to include a little more info.
Are you saying you've already created the table and want to go back and add
something? My recommendation would be to do the processing first, and put
the data in a variable, then when you get to the part of your code that
creates col23/row1 write out the variable contents
 
R

rupart

yap...i get what u sayin..
by the way, the code such as below does work(skipping the
<td></td>..i just tried it out

thanks buddy .:)
 
D

Don Verhagen

In rupart <[email protected]> typed:
: yap...i get what u sayin..
: by the way, the code such as below does work(skipping the
: <td></td>..i just tried it out
:

It works on browsers that don't collapse empty tags (sets) (ie MS Internet
Explorer).

It would be better to use: <td>&nbsp;</td>, so the "empty" <td>'s have some
content.

Just a little FYI.

Don


: thanks buddy .:)
:
:: -----Original Message-----
:: I think you need to include a little more info.
:: Are you saying you've already created the table and want to go back
:: and add something? My recommendation would be to do the processing
:: first, and put the data in a variable, then when you get to the part
:: of your code that creates col23/row1 write out the variable contents
::
:: ::: Hi,
::: I am planning to insert data into column depending on
::: which column.For example i wanted insert data in row 1
::: column 23, and row1 column 25..
::: Can i use sth like this:
::: ******************************************
::: if column=25 then
::: for i=1 to 25 'goto the 25th column and insert data there
::: <td></td>
::: next i
::: write "fruits"...
::: *********************************************
:::
::: will it work?if not wht wud be better idea in inserting
::: data in such scenario as above?
:::
::: TIA
:::
::
::
:: .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top