well, you confirm what i was thinking, it's not directly possible from php.
thanks for u're solution.
i think i will make this little problem vanish. i'll will redirect the
output to the general window.
it will be faster than changing the actual framework . But i will test this
technic for my personnal knowledge ...
thanks again
Didier
"Chung Leong" <ch***********@hotmail.com> a écrit dans le message de
news:o5********************@comcast.com...
"Didier Degey" <dd****@ulg.ac.be> wrote in message
news:40**********************@news.skynet.be... hi all
here is my problem ...
i'm working on a network connection project
and for the application i use a multi-window system
one page for the search form
one page for displaying general informations
one page for displaying details informations
in one case, i can't determine where the result of the research must be
displayed
in the general of the details page. this depends on the result of the db
query.
so, i can't play with document.serachForm.target to route the output to
a particular page
is there a way for doing this after the form is posted ?
can i change the destination page in the php script called by the form
action ?
Not really. What I would do is post into an invisible frame, then use
Javascript to write the content into the correct frame. Something like
this at the end of the output should work:
<script language="javascript">
<?=$frame?>.document.body.innerHTML = document.body.innerHTML;
</script>