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 answers

the 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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -