212
I Use This!
Very Low Activity

News

Analyzed 1 day ago. based on code collected 1 day ago.
Posted about 14 years ago by Dj
Why just dont use: return str.charAt(0).toUpperCase() + str.substr(1); instead of assign the value to f to later return it
Posted about 14 years ago by
Posted about 14 years ago by Jon L.
PHP regex (PCRE) and JS regex (ECMA) are not 100% compatible: http://www.regular-expressions.info/refflavors.html << see chart for differences.
Posted about 14 years ago by Pier Paolo Ramon
You should check if it's a property of the object, with hasOwnProperty. [CODE] for (key in trans) { if (!trans.hasOwnProperty(key)) continue; tmp_ar[trans[key]] = key; } [CODE]
Posted about 14 years ago by www
function get_browser() { // Your code here }
Posted about 14 years ago by
Posted about 14 years ago by
Posted about 14 years ago by
Posted about 14 years ago by Alberto Ruiz
Can you pass a variable into date_default_timezone_set()? $myTimeZONEvar=$_SESSION['setting_timezone_session']; // I saved 'America/New_York' into a session echo $myTimeZONEvar; // This shows that the variable is exactly 'America/New_York' ... [More] date_default_timezone_set($myTimeZONEvar); // I get an error everytime I try to run this...but if I remove the variable and put in the string 'America/New_York' ....then it works. [Less]
Posted about 14 years ago by