Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

codefix

Members
  • Joined

  • Last visited

  1. sorry, i didn't specifically get what you were pointing. anyway, like i said, tested on php4/php5 $array = array(array('one'),array('two')); foreach($array as $v){ } var_dump($v); output: -------- array(1) { [0]=> string(3) "two" }
  2. the variable will exist as long as it is used in the same php file with the exception of using it within the function code block. code block for control and loop statements does not create another instance of the same variable name if it was declared previously in the same page. if(true) { $test = "test"; } while(true){ if(isset($test)) { echo '$test exists'; } else { echo '$test does not exists'; } break; } function printTest(){ if(isset($test)) { echo '<br />', '$test exists on this method'; } else { echo '<br />', '$test does not exists on this method'; } } printTest();
  3. There could be few extensions for PHPBB and VBulletin that provides Single Sign On service. some are: http://www.vbulletin.org/forum/showthread.php?t=270517 http://wordpress.org/extend/plugins/phpbb-single-sign-on/ Good luck!
  4. i'm confused of what information should your [results] table would hold since your just inserting the total win with no other related data? maybe you want to use UPDATE SQL statement instead? $updateResult = mysql_query("update results set totalwin = $totalwin where team = " . $row['team']); also, while(true) { $test = 'test'; break; } echo $test; output: -------- test -------- this works on php4 and php5
  5. this is one of the common Gotcha in PHP especially when you're also coding for MSSQL. since test equality sign in MSSQL is =.
  6. for line 185, you may use this: if (stristr($agent,$Match) != FALSE)

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.