I am having trouble with a simple peice of php code. I am working with 2 product pricing tiers. These are based on whether a user has logged in, or not.
While looking though some code of th开发者_开发技巧e project I\'m working on, I\'ve come across a pretty hefty method which does
I have the following code that is part of my email class that I use in my programs.Currently I am running the quit function whether or not a connection to the SMTP server was made in the con开发者_JAV
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
I am trying to calculate the difference between two dates by excluding Saturday and Sunday. The output should be 9 but i got 1 instead.
I was tryng to parse this xml: http://henriquebarone.animatubo.com/spider/jquery/teste.xml Writing this code:
First and foremost, I am not asking anyone to write a program for me or to do my homework for me... I have an error and I can\'t figure out what\'s causing it, and where to look to fix it.
I currently have the code: fleechance = random.randrange(1,5) print fleechance if fleechance == 1 or 2: print \"You failed to run away!\"
I am having a little trouble with the following php statement: if (!userIsLoggedIn()) { $prPrice = (empty($prPrice2)) ? $prPrice1 : $prPrice1;
I use PMD to check my code. It gives me very useful hints in most cases, but I can\'t figure out what could be improved in the following scenario.