Possible PHP bug: echo affecting if statement

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Possible PHP bug: echo affecting if statement

Post by johnj » Sat Apr 20, 2013 10:41 pm

How did you conclude that the script halts after printing "FIRST QN" ??

Please put an echo statement both inside the if ($type_no !=1 ...) and outside and then decide if the script is really halting without checking the "IF" condition.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests