Forums
This topic is locked
Problem when going to detail page
Posted 17 May 2006 12:17:44
1
has voted
17 May 2006 12:17:44 cveto nekej posted:
Hi!I have a problem in dreamweaver mx. I have a template, lets say a table with two colums, where there is a navigation on left, and main window on right, which is editable.
On navigation there is dynamic text, three last records from access db. When you click one of these links, all data from that record is shown in main window on the right.
So there are two files default.asp, and news.asp. They both use same template.
When you click one link from default.asp, it opens page "www.smtf.com/news.asp?IDNews=1". That is OK. BUT, when from this page "www.smtf.com/news.asp?IDNews=1" you click another link on left navigation page, it goes to "www.smtf.com/news.asp?IDNews=1&IDNews=2".
That is not OK.
How can i solve that?
Thank you!
Replies
Replied 18 May 2006 18:17:44
18 May 2006 18:17:44 Javier Castro replied:
try adding the server behaviour go to specific record. that may help. Anyhow, what 2 windows are you talking about? your links only show 1 window. Are u using frames? if so, repost your link to see what is happening.
Replied 22 May 2006 11:16:01
22 May 2006 11:16:01 cveto nekej replied:
I will rephrase the question.
When I link to a specific news (to news.asp) from another page (example from default.asp) everything works ok. But then on, from news.asp I cannot post to another specific news (on same page news.asp).
That is because when i post from another page i see "news.asp?IDNews=1" but when i link from news.asp to another news on same page, it doubles the IDNews. So i get "news.asp?IDNews=1&IDNews=2".
Is it possible?
When I link to a specific news (to news.asp) from another page (example from default.asp) everything works ok. But then on, from news.asp I cannot post to another specific news (on same page news.asp).
That is because when i post from another page i see "news.asp?IDNews=1" but when i link from news.asp to another news on same page, it doubles the IDNews. So i get "news.asp?IDNews=1&IDNews=2".
Is it possible?