Article View: chile.comp.programacion
Article #2539Re: duda php (otra vez)
From: SorbitoL
Date: Wed, 07 Dec 2005 19:19
Date: Wed, 07 Dec 2005 19:19
35 lines
1645 bytes
1645 bytes
"Rick_oj" <rick_oj@[sin-esto]tutopia.com> escribi๏ฟฝ en el mensaje
news:dn78p5$a2d$1@news.nivel5.cl...
>
> if ( ($_POST['nombre']=="") )
> {
> print("Debe ingresar datos en nombre <br>");
> echo "<a href="ingreso_datos.php">Volver</a>";
> }
> else
> {
> if ( ($_POST['rut']=="") )
> {
> print("Debe ingresar datos en nombre <br>");
> echo "<a href="ingreso_datos.php">Volver</a>";
> }
> else
> {
> ....
> ....
> }
> }
>
Pon el caracter de escape antes de las comillas en los "echo":
dice:
echo "<a href="ingreso_datos.php">Volver</a>";
deberia decir:
echo "<a href=\"ingreso_datos.php\">Volver</a>";
Italo Neira
Technical Details
Message-ID:
<dn7ckp$b9s$1@news.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mailReferences:
<dn78p5$a2d$1@news.nivel5.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,6276fef940e6c824 X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news.nivel5.cl!not-for-mail From: "SorbitoL" <ineira@VETEERRE.NET> Newsgroups: chile.comp.programacion Subject: Re: duda php (otra vez) Date: Wed, 7 Dec 2005 16:19:50 -0300 Organization: Varios Lines: 38 Message-ID: <dn7ckp$b9s$1@news.nivel5.cl> References: <dn78p5$a2d$1@news.nivel5.cl> Reply-To: "SorbitoL" <ineiraArrobavtrPuntonet> NNTP-Posting-Host: pc-22-1-86-200.cm.vtr.net X-Trace: news.nivel5.cl 1133983193 11580 200.86.1.22 (7 Dec 2005 19:19:53 GMT) X-Complaints-To: news@news.nivel5.cl NNTP-Posting-Date: Wed, 7 Dec 2005 19:19:53 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Response