On Fri, 2004-10-08 at 15:22, Skip Niemeyer wrote: > Hi, > > > > I’m new to php (this week) so forgive the novice question. > > I need to do some cross-frame scripting and am trying to find the php > equivalent to the Javascript command… > > parent.frames("main").document.write($output); > > I’ve worked through the install, accessing mySQL and XML and > instantuating classes, but this (what should be) simple task eludes > me. > > Thanks,
You still use Javascript (which runs in the client's browser). Just use the PHP "echo" command to send out your Javascript. As PHP is code which runs on the server, not in the browser, there is no equivalent. HTH Chris