Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #5726
| From | Redcat <redcat@catfolks.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: What happens when i dont use the semicolon for closing my statement |
| Date | 2012-04-25 13:33 +0000 |
| Message-ID | <9vqcq7Fpt3U11@mid.individual.net> (permalink) |
| References | <9235265.1709.1335343399060.JavaMail.geo-discussion-forums@vbbgl4> <4f97c1f7$0$6919$e4fe514c@news2.news.xs4all.nl> <13584425.1627.1335348301287.JavaMail.geo-discussion-forums@vbqq1> |
On Wed, 25 Apr 2012 03:05:01 -0700, hakimserwa wrote: > Parse error: syntax error, unexpected '}', expecting ',' or ';' in > C:\xampp\htdocs\hello.php on line 13 > > how do i read this error and undcerstan what it means so next time in > can be able to solve it so quickly. In this case take a look at line 13 (though with PHP error reporting - with any language's error reporting, actually - the error might not actually be on the line mentioned in the report). If you intentionally left off the semicolon as was suggested in a previous post, to see what would happen, then the error message is saying "Hey, you left something off!". The parser was expecting to see a ',' or a ';' but it found a '}' instead. If this error message doesn't seem to jibe with what you expect, then post the entire php file so we can look at it and we'll figure out what the error was. Redcat
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What happens when i dont use the semicolon for closing my statement hakimserwa@gmail.com - 2012-04-25 01:43 -0700
Re: What happens when i dont use the semicolon for closing my statement Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-04-25 11:20 +0200
Re: What happens when i dont use the semicolon for closing my statement hakimserwa@gmail.com - 2012-04-25 03:05 -0700
Re: What happens when i dont use the semicolon for closing my statement Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-04-25 12:45 +0200
Re: What happens when i dont use the semicolon for closing my statement Captain Paralytic <paul_lautman@yahoo.com> - 2012-04-25 04:04 -0700
Re: What happens when i dont use the semicolon for closing my statement Redcat <redcat@catfolks.net> - 2012-04-25 13:33 +0000
Re: What happens when i dont use the semicolon for closing my statement The Natural Philosopher <tnp@invalid.invalid> - 2012-04-25 15:55 +0100
Re: What happens when i dont use the semicolon for closing my statement richard <member@newsguy.com> - 2012-04-25 21:24 -0400
Re: What happens when i dont use the semicolon for closing my statement Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-25 22:29 -0400
Re: What happens when i dont use the semicolon for closing my statement richard <member@newsguy.com> - 2012-04-25 22:59 -0400
csiph-web