Jump to content

Parse error help


MDanz

Recommended Posts

ok, have just read your reply. I get what you're trying to do, but this is the completely wrong way to go about it. You should do the following.

 

if($screen_resolution =="1024x768") {
   $max = 9;
}else if($screen_resolution =="1440x900") {
   $max = 14;
}

for($col = 0; $col < $max; $col++) {
// code in your for loop...
}

Link to comment
https://forums.phpfreaks.com/topic/192457-parse-error-help/#findComment-1014101
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.