DISQUS

DISQUS Hello! Technosailor is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Alpha Payment System Completed

Started by Aaron Brazell · 11 months ago

No excerpt available. Jump to website »

10 comments

  • So, is that the "top secret" project? Sounds real nice.
  • Yep, it's coming along. :-)
  • That would explain the mysterious "PHPing b5media" I see as your away message every time I see you on gmail talk.

    That's a pretty slick setup you're working on, I just wanted to remind you to make sure to put that php call we talked about to automatically add two zeros to all of my payments
  • That would be the project. And This build of PHP doesn't have that function! ;)
  • Jesse,
    You need to be more specific on whether those two zero's belong before or after the decimal.
  • <php>
    < ?php if (!is_jesse()) { ?>
    < ?php add_two_zeros(oo); ?>
    < ?php } elseif (is_other_blogger()) { ?>
    < ?php remove_two_digits(); ?>
    < ?php } ?>
    </php>

    --

    what are the chances that would work?

    what are the chances that's remotely close to proper php?

  • hey this is really neat aaron. glad youre working on something like this to make payments faster. :)
  • &lt;?
    php if (is_jesse($blogger)) {
    add_two_zeros();
    } else {
    remove_two_digits();
    }
    ?&gt;

    What you told it to do before ("if (!is_jesse())") was going to add two zeros to any blogger that wasn't Jesse!

    That's assuming that the function is_jesse took the returned true if the blogger is Jesse and false in any other case, which would of course be the right way to do it.

    The elseif was also unnecessary too because if the blogger not Jesse then it automatically "is_other_blogger" :)

    Anway, sounds great so far Aaron... I guess us lowly bloggers will never get to see it, but it'll save a huge chunk of time on the CE end I'm sure... Nice work! :)
  • you see, that's why you're a coder and I am not. I'm still mostly clueless in php
  • I wouldn't really call myself that much of a PHP developer these days... It's been ages since I properly tackled anything... I could never make anything like this wonderful app Aaron's made...

Add New Comment

Returning? Login