mysql - PHP if statement stops remainder of HTML page from loading -
mysql - PHP if statement stops remainder of HTML page from loading -
this question has reply here:
how useful error messages in php? 26 answersthe next if statement not seem working me.
the 2 values in b1rafrica , b2rafrica bigints beingness pulled mysql database (perhaps might it?).
when run these values site doesn't load:
b1rafrica = 200 b2rafrica = 150
if remove else site works...
i'm total php noob apologise in advance if i'm doing stupid.
class="snippet-code-html lang-html prettyprint-override">if ($b1rafrica >= $b2rafrica) { $africastyle ="africab1"; } } else { $africastyle ="africab2"; }
cheers,
will
please provice more info, errors you're getting. seek this:
if ($b1rafrica >= $b2rafrica) { $africastyle ="africab1"; } else { $africastyle ="africab2"; } php mysql
Comments
Post a Comment