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 #170532 is a reply to message #170531] Sat, 06 November 2010 16:42 Go to previous message
Magno is currently offline  Magno
Messages: 49
Registered: October 2010
Karma:
Member
On 11/06/2010 01:36 PM, sheldonlg wrote:
> 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.
>

Right, that is the most typical reason for that error to happen.
[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: Tue Nov 26 12:56:44 GMT 2024

Total time taken to generate the page: 0.04061 seconds