Hi!
<a href="javascript:ZweiFrames('$link1','$frame1','$link2','$frame2')">Link</a></body>
Doch das klappt ja nicht , wie kann ich das beheben?
Du musst PHP in Javascripte exakt genau so einbetten, wie in HTML. Für PHP ist die HTML/JS Seite nur Text in der er ggfs. (zwischen <??>) PHP-Anweisungen findet.
Siehe: http://de3.php.net/manual/de/tutorial.firstpage.php#AEN223
http://www.dclp-faq.de/q/q-web-server-client.html
http://www.dclp-faq.de/q/q-funktion-php-js.html
Grüße
Andreas
--
SELFHTML Tipps & Tricks: http://aktuell.de.selfhtml.org/tippstricks/
SELFHTML Tipps & Tricks: http://aktuell.de.selfhtml.org/tippstricks/