Beaver John
|
Posted: 01/01/2004, 8:59 AM |
|
I have a poll in ordinary asp which i wont to be shown in a table on my CCS2 generated project. I can make it work by placing this custom code in a label's Before show event:
%><!--#include file"weekly_poll.inc" --><%
If i want to put that poll inside a table how do i go about that? At the moment the poll is appearing at the start of the html.
Thanks in advance!
|
|
 |
Edd
|
Posted: 01/01/2004, 2:45 PM |
|
You will have to change you code slighly.
1. Change the weekly_poll.inc to be an ASP function that returns HTML string.
2. Create a label on your CCS page type HTML and on the beforeshow event of the label call the weekly_poll finction.
Edd
[www.syntech.com.au]
|
|
 |
Beaver John
|
Posted: 01/02/2004, 2:18 PM |
|
Hello Edd!
Thanks for a quick response and thank you for the solution. It took me a little while to make it work, but now all working just fine!
Thanks again and have af nice day
Beaver John
|
|
 |
Bert Stevens
|
Posted: 01/04/2004, 12:03 PM |
|
Hi,
I have the same problem, i want to include some a custom .php in a table. When i do so the php appears on top of the page. I can't / don't want to convert is .php to a function because it's used elsewhere.
|
|
 |