Re: [OT] ayuda
| From: | hans[thekaiser.net] | Date: | Tue, 08 Jul 2003 16:15:38 +0000 |
| Subject: | Re: [OT] ayuda | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-38252@lists.php.net to get a copy of this message | ||
Mejor así:
<?php
//Sentencias o demás funciones
?>
<script>location.href = "foro.htm";<script>
<?
//Blablabla
?>
----- Original Message -----
From: "Borja Martín" <borjam@dagi3d.net>
To: <lista@phpes.com>
Sent: Tuesday, July 08, 2003 5:15 PM
Subject: RE: [PHP-ES][OT] ayuda
> <?php
> echo '<script>location.href = "foro.htm";<script>';
> ?>
>
> Saludos.
> At 11:00 08/07/2003 -0400, you wrote:
> >Lo que pasa es que no logro la forma de insertar un codigo de javascrip
> >dentro de un script de php.
> >Por ejemplo:
> >
> ><?php
> > <script>location.href = "foro.htm";<script>
> > ?>
> >
> >lo que te escribo arriba me da un error de
> >
> >Parse error: parse error, unexpected '<' in
> >C:\FoxServ\www\tecnologia\ttt.php on line 9
> >
> >Espero que tambien puedas ayudarme en esta occasion
> >
> >Saludos,
> >LAMELA
>
>
>
> ---------------------------------------------------------------------
> Archivo On-line: http://www.phpes.com/
> via news: news://news.phpes.com/
> Manual PHP en español: http://www.php.net/manual/es/
> Para dar de baja la suscripción, mande un mensaje a:
> lista-unsubscribe@phpes.com