Mailinglisten-Archive |
> Hallo Liste,
>
> ich hab ein kleines Problem.
> Ich würde gerne JavaScript Code
> in PHP-Source einfügen.
> Leider funktioniert das nicht richtig.
>
> Ich schicke mal einen Teil vom Code mit:
>
> <?
> echo "<script language=\"JavaScript\">
>
Achte auf die anfürungszeichen:echo "<script language=\'JavaScript\'>";
Gruß
Marc
> function setFocus();
> {
> document.form1.texfield.focus();
> }
> </script>";
>
> echo "<html>
> <head>
> <title>Short Message send...</title>
> <meta http-equiv=\"Content-Type\" content=\"text/html;
> charset=iso-8859-1\">";
>
>
> ...
>
> echo "<link rel=\"stylesheet\" href=\"anw.css\"
> type=\"text/css\"> </head>
>
> <body bgcolor=\"#FFFFFF\" text=\"#000000\" onLoad=\"setFocus()\">
>
>
> Wäre dankbar für Hilfe.
>
> Greez Benny
> --
> ** http://www.php-center.de **
> Die PHP-Liste: mailto: php_(at)_phpcenter.de
> http://lists.phpcenter.de/mailman/listinfo/php
php::bar PHP Wiki - Listenarchive