----- Original Message ----- From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: "Greg Wardawy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 15, 2004 12:57 PM
Subject: Re: CGI - re-writing the content of the cell on the web page
Greg Wardawy wrote:
Thanks a lot $Bill. I will try all of your suggestions.
So, there is no way to write the script, execute it as a SSI inside the cell
of the table:
---SNIP--- <tr> <th width="60" scope="row">1</th> <td width="180" bgcolor="#FFFFFF"><div align="right"> <p> <!--#include virtual="/cgi-bin/data_in_var1.cgi" --> </p> </div></td> </tr> ---SNIP---
and have the content of the cell re-written with a new value of the variable, right?
Sure - that would work (take the space out to be safe (after the .cgi" ). Is there just the one include ? If there are many, it may be easier to return the whole table.
Well, it works but not the way I want it. It prints and displays all ~5000 values in this cell and I need the value to be overwritten with a new one (something what I get using \r insted of \n in STDOUT).
There is just the one include per cell, the table has 8 rows so far so there are 8 includes.
In regards to Joe's #exec response: #exec cgi= is pretty much deprecated by #include virtual= .
Don't laugh too hard if this question is stupid. I'm quite new to the CGI programming and I thought that there is a way to send a new value to the cell avoiding sending the cell with a new value.
I'm probably missing why you would need to do it though. Why not just hardcode it ? Is the value changing somehow ?
I'm writing this script for my friend who wants the data to be displayed in cells dynamically. It will be GD::Graph involved but I'm not there yet.
For now I'm getting that data from a text file but in the future it will be data received through the modem.
Many thanks.
Greg.
--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs