p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: RE: chp 5 page 168


Message #1 by "Nikolai Devereaux" <yomama@u...> on Tue, 30 Apr 2002 18:22:32 -0700
> OK i'm on chp 5(loops & arrays) page 168 and can't get this example to
> work. Its probaly something simple, but if it is I can't see the problem.
> I getting this error
> Parse error: parse error, expecting `')'' in
> C:\Inetpub\wwwroot\learning\states2.php on line 7

Looks like you're missing a " in front of Hartford.

nik

Message #2 by "Josh" <jeb_braun@i...> on Wed, 1 May 2002 22:06:02
Oops. Ok I tried that and it got rid of the error but now its not 
displaying the message. Thanks
Message #3 by rbanse@c... on Thu, 2 May 2002 03:58:13
> Oops. Ok I tried that and it got rid of the error but now its not 
d> isplaying the message. Thanks


Looks like you are missing "The" in "StateofUSA"

------------------------------------------------------------------------
	echo "<INPUT TYPE=HIDDEN NAME='HiddenState[]' VALUE='$StateOfUSA
[$counter]'>";
}
echo "<INPUT TYPE=Submit></SELECT>";
?>
</FORM>
</body>
</html>

-Ryan
Message #4 by "Josh" <jeb_braun@i...> on Thu, 2 May 2002 08:24:32
Oops again. Its working now. Thanks for the help

  Return to Index