FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Comments legal? For loop legal?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Comments legal? For loop legal? [message #170531 is a reply to message #170521] Sat, 06 November 2010 16:36 Go to previous messageGo to previous message
sheldonlg is currently offline  sheldonlg
Messages: 166
Registered: September 2010
Karma:
Senior Member
On 11/5/2010 5:44 PM, Brian Smither wrote:
> I'm getting T_ELSE errors and I wonder if there are issues with the
> following lines of code...
>
> // Digital Product : BEGIN
>
> Would a colon ever constitute a beginning or ending of a script block?
>
>
>
> for($j=0;$j<count($results);$j++) {
>
> Would lack of white space after the semi-colons ever cause a problem?
>
>
>

My guess? Look for a missing "}" before the else statement for the line
indicated in the error message.

--
Shelly
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: There is some framework/tool to generate PHP code
Next Topic: urls in php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:18:57 GMT 2024

Total time taken to generate the page: 0.07575 seconds