Been there, done that. Payday loans can be used, but keep in mind they are ONLY for immediate NEEDS.
If there are no other options, the first question you should ask is, "Can I pay this off next payday?"
Sure, you might be able to, but will you be almost broke again? How will you make ends meet that payday? Will you have to take out another loan?
If any of that is true (or you're worried about your discipline to live on $0 for two weeks), then a payday loan is not for you.
A suggestion to help long-term, instead of feeling bad for being in this position, is to review your budget and bank statement to see how you're spending your money. When I was on a tight budget (which always seemed to get tighter, even as pay raises happened), I did this and found I had a $70/paycheck "leak" which wasn't accounted for on the budget...fast food is a killer, both for money and health. There were other "leaks" as well, and if money is tight it's best to get a wrench on the drains.
Hope this helps, good luck!