Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 09-28-2003, 12:28 PM help needed, please.
Novice Talker

Posts: 6
Trades: 0
I have problems with the cgi script using separate html templates.

http://www.ebuddiez.com/cgi-bin/browse.cgi

This is HTML code of the template but in the script something goes wrong with the multiplying tables.... as you can see (above link)

Code:
<table width="400">
<TD ALIGN=center>Age</TD>
<TD ALIGN=center>Male</TD>
<TD ALIGN=center>Female</TD>
<!-- start line -->
<TR>
<TD ALIGN=center>::age::</TD>
<TD ALIGN=center>::male::</TD>
<TD ALIGN=center>::female::</TD>
</TR>
<!-- end line -->
</table>
the result is like this:

Age Male Female
21 22 25 0002 0001 0001 0000 0000 0000

but it should be like this:

Age Male Female
21 0002 0000
22 0001 0000
25 0001 0000

what's wrong???!!

please!!
ES23 is offline
Reply With Quote
View Public Profile Visit ES23's homepage!
 
 
Register now for full access!
Old 09-28-2003, 05:56 PM
Skilled Talker

Posts: 83
Location: Ohio
Trades: 0
I don't know how your code works, but it looks like the loops not printing the <tr> to start a new row. You need to have some kind of count to start a new row.
techguru is offline
Reply With Quote
View Public Profile
 
Old 09-28-2003, 06:13 PM
Novice Talker

Posts: 11
Location: Ukraine
Trades: 0
Hello,

I don't sure how your template system works, but it seems that it have a mistake.
If this is mistake is one I thought about, then the following changed code should work:
Code:
<table width="400">
<TD ALIGN=center>Age</TD>
<TD ALIGN=center>Male</TD>
<TD ALIGN=center>Female</TD>
<!-- start line -->
<TR><TD ALIGN=center>::age::</TD>
<TD ALIGN=center>::male::</TD>
<TD ALIGN=center>::female::</TD></TR>
<!-- end line -->
</table>
Best regards,
Andrey Lomakin.
__________________
Gamma Group
http://www.gammacenter.com
gamma is offline
Reply With Quote
View Public Profile Visit gamma's homepage!
 
Old 09-29-2003, 05:15 AM
Novice Talker

Posts: 6
Trades: 0
gamma, it still isn't working.... i cant imagine what's wrong?!?! i've put your code. but it still doesn't start a new row.

anybody?
ES23 is offline
Reply With Quote
View Public Profile Visit ES23's homepage!
 
Old 09-29-2003, 05:26 AM
Novice Talker

Posts: 6
Trades: 0
by the way here's the cgi script code:

http://www.ebuddiez.com/browse.txt

and template:

http://www.ebuddiez.com/browse.template.txt
ES23 is offline
Reply With Quote
View Public Profile Visit ES23's homepage!
 
Old 09-30-2003, 10:41 AM
Novice Talker

Posts: 11
Location: Ukraine
Trades: 0
Hello,

The links are broken.

Could you send your files to
support@gammacenter.com
so I can help you.

Best regards,
Andrey Lomakin..
__________________
Gamma Group
http://www.gammacenter.com
gamma is offline
Reply With Quote
View Public Profile Visit gamma's homepage!
 
Reply     « Reply to help needed, please.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17724 seconds with 12 queries