p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Error in Registration Script(Chapter 13)


Message #1 by "Laurie Tsakiris" <laurietsakiris@h...> on Fri, 1 Feb 2002 11:38:24 -0800
This is a multi-part message in MIME format.



------=_NextPart_000_0057_01C1AB14.F52AC100

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



Hi

When I execute the registration form there is a error warning at the 

bottom of IE:

Line 11

Char 32

Error: Unterminated string constant



I know this is probably something really stupid on my part but my brain 

is fried. please help.



Thanks




Message #2 by "Jason DeWitt" <roxet@c...> on Fri, 1 Feb 2002 13:50:25 -0600
This is a multi-part message in MIME format.



------=_NextPart_000_0062_01C1AB27.66450C80

Content-Type: text/plain;

	charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable



I would think that is a javascript error, not a php one.  It sounds like 

you left off a quotation mark or a close paren.  It might not be located 

right where those line number say though.



  ----- Original Message -----

  From: Laurie Tsakiris

  To: beginning php

  Sent: Friday, February 01, 2002 1:38 PM

  Subject: [beginning_php] Error in Registration Script(Chapter 13)





  Hi

  When I execute the registration form there is a error warning at the 

bottom of IE:

  Line 11

  Char 32

  Error: Unterminated string constant



  I know this is probably something really stupid on my part but my 

brain is fried. please help.



  Thanks




$subst('Email.Unsub').






Message #3 by "Laurie Tsakiris" <laurietsakiris@h...> on Sat, 2 Feb 2002 03:01:15
DUH. Thanks very much, you were right. 





> This is a multi-part message in MIME format.

> 

> ------=_NextPart_000_0062_01C1AB27.66450C80

> Content-Type: text/plain;

> 	charset="iso-8859-1"

> Content-Transfer-Encoding: quoted-printable

> 

> I would think that is a javascript error, not a php one.  It sounds like 



> you left off a quotation mark or a close paren.  It might not be located 



> right where those line number say though.

> 

>   ----- Original Message -----

>   From: Laurie Tsakiris

>   To: beginning php

>   Sent: Friday, February 01, 2002 1:38 PM

>   Subject: [beginning_php] Error in Registration Script(Chapter 13)

> 

> 

>   Hi

>   When I execute the registration form there is a error warning at the 

> bottom of IE:

>   Line 11

>   Char 32

>   Error: Unterminated string constant

> 

>   I know this is probably something really stupid on my part but my 

> brain is fried. please help.

> 

>   Thanks




> $subst('Email.Unsub').

> 

> ------=_NextPart_000_0062_01C1AB27.66450C80

> Content-Type: text/html;

> 	charset="iso-8859-1"

> Content-Transfer-Encoding: quoted-printable

> 

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

> <HTML><HEAD>

> <META http-equiv=3DContent-Type content=3D"text/html; 

> charset=3Diso-8859-1">

> <META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR>

> <STYLE></STYLE>

> </HEAD>

> <BODY bgColor=3D#ffffff>

> <DIV><FONT face=3DArial size=3D2>I would think that is a javascript 

> error, not a php

> one.&nbsp; It sounds like you left off a quotation mark or a close 

> paren.&nbsp;

> It might not be located right where those line number say 

> though.</FONT></DIV>

> <DIV>&nbsp;</DIV>

> <BLOCKQUOTE

> style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 

> BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

>   <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>

>   <DIV

>   style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: 

> black"><B>From:</B>

>   <A title=3Dlaurietsakiris@h...

>   href=3D"mailto:laurietsakiris@h...">Laurie Tsakiris</A> </DIV>

>   <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A 

> title=3Dbeginning_php@p...

>   href=3D"mailto:beginning_php@p...">beginning php</A> </DIV>

>   <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, February 01, 2002 



> 1:38

>   PM</DIV>

>   <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [beginning_php] Error 

> in

>   Registration Script(Chapter 13)</DIV>

>   <DIV><BR></DIV>

>   <DIV><FONT face=3DArial size=3D2><SPAN 

> class=3D464491917-01022002><FONT face=3DArial

>   size=3D2>Hi</FONT></SPAN></DIV>

>   <DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial size=3D2>When 



> I execute the

>   registration form there is a error warning at the bottom of

>   IE:</FONT></SPAN></DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial size=3D2>Line 



> 

>   11</FONT></SPAN></DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial size=3D2>Char 



> 

>   32</FONT></SPAN></DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial 

> size=3D2>Error:

>   Unterminated string constant</FONT></SPAN></DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial

>   size=3D2></FONT></SPAN>&nbsp;</DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial size=3D2>I 

> know this is

>   probably something really stupid on my part but my brain is fried. 

> please

>   help.</FONT></SPAN></DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial

>   size=3D2></FONT></SPAN>&nbsp;</DIV>

>   <DIV><SPAN class=3D464491917-01022002><FONT face=3DArial

>   size=3D2>Thanks</FONT></SPAN></DIV></FONT></DIV>---<BR>Change your 

> mail options

>   at <A

>   

> 

href=3D"http://p2p.wrox.com/manager.asp">http://p2p.wrox.com/manager.asp<

> /A> or

>   <BR>to unsubscribe send a blank email to <A

>   

> href=3D"mailto:$subst('Email.Unsub')">leave-beginning_

> php-502658Q@p...</A>.

> </BLOCKQUOTE></BODY></HTML>

> 

> ------=_NextPart_000_0062_01C1AB27.66450C80--

> 


  Return to Index