You are here: Re: How to tell PHP to write data to another frame « All PHP « IT news, forums, messages
Re: How to tell PHP to write data to another frame

Posted by Etienne Marais on 11/16/05 12:59

Stefan Rybacki wrote:

> Stefan Mueller wrote:
>>>PHP has no concept of HTML frames.
>>>
>>>You'll have to add a target="..." attribute to your <FORM> element.
>>
>>
>> Great, this works perfect and is good enough for my requirements. But
>> does that mean that a PHP script can only write data to one frame? Is
>> there really no possibility to refresh a second frame with a PHP script?

<?php

/* mainframe.inc */

// some code

if (condition_is_met_to_refresh_other_frame) {

?>
<script>
this.parent.other_frame.reload();
</script>
<?

}

// more code

?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация