Search results

  1. natsuki

    For Linux Users Only

    GTK, QT, you can even try WxWidgets, and some others (I dunno much but I know there are some other GUI platforms out there). You could use emacs for editing.
  2. natsuki

    Php

    $_POST['val1'] and $_POST['val2'] could possibly be "0" so if (trim($_POST['val1']) == '') checks if there's really nothing in it. The switch() version is clearer though. There's actually a code styling rule that says "every bracket should be on a line of its own. usually if without brackets is...
  3. natsuki

    Php

    your code was well written though. let's just call empty() a bug lol
  4. natsuki

    Php

    The only problem with empty() is that "0" and 0 are also considered empty. And if the $result of calculation is 0 then it won't get displayed. I guess $value == '' is still better than isset() though. if (isset($_POST['submit'])) // checks if you clicked submit (name='submit') is indeed a good...
  5. natsuki

    Code snippet examples

    I hope people at least POST THE ERROR MESSAGE/S they are getting when they are asking for help. After all, it's just a simple copy/paste. It usually is easily solved by just knowing the error. PHP errors aren't as cryptic as C++'s error messages. Unless of course there no error to post. lol...
  6. natsuki

    Php

    I want to help you but I really don't understand what you are trying to do. You are trying to put all the code in one file and submit to that same file to calculate the results? Then what is it you need help with? If you could post in the code.. You don't need to use header if you are going to...
  7. natsuki

    The Ctrl+V game

    枠 -waku
  8. natsuki

    Anyone good with PHP

    because the string value of an array is "Array". If you want the contents try var_dump($boxes) or print($boxes)
  9. natsuki

    The Ctrl+V game

    http://i4.photobucket.com/albums/y144/kiddragon/ix01a.jpg
  10. natsuki

    PHP paging help

    oops this is what it's echoing // how many rows we have in database $query = "SELECT COUNT(ID) AS Number FROM TsundereOrNot"; $result = mysql_query($query) or die('Error, query failed'); $row = mysql_fetch_assoc($result); $numrows = $row['Number']; instead of what you intended to $query...
  11. natsuki

    The Ctrl+V game

    if (pre.getErrorCount() || pre.getWarnCount()) { cerr << pre.getErrorCount() << " errors, "; cerr << pre.getWarnCount() << " warnings" << endl; } aww it's the compiler again
  12. natsuki

    Word Assoation Game

    sleep > dream
  13. natsuki

    The Ctrl+V game

    document.getElementById(type + "_results").innerHTML
  14. natsuki

    PHP: Registration Help with AJAX

    if (xmlHttp.responseText.contains == "Not Available"){ document.reg_frm.register.disabled = true; }else{ document.reg_frm.register.disabled = false; }so this is basically not working because of one way or another i know you know what you're doing because your code is structured and...
  15. natsuki

    Need the best of best php coder for free help with changing e-gold coding to paypal!

    Re: Need the best of best php coder for free help with changing e-gold coding to payp maybe you want to tinker with this script the one I found on the net when we're on msn
  16. natsuki

    open source tools

    I'm not sure if Python can compile though, I have python but I know it's a scripting like Perl and Lua. The compilable languages I know of are: C/C++, Java (can be compiled as well as interpreted), Pascal (dunno if still exists), VB/BASIC, LISP (hmm), assembly (not cross-platform at all). For...
  17. natsuki

    Need the best of best php coder for free help with changing e-gold coding to paypal!

    Re: Need the best of best php coder for free help with changing e-gold coding to payp I thought jacob will do it ;p
  18. natsuki

    The Ctrl+V game

    http://forums.x10hosting.com/programming-help/87394-how-ask-progamming-help.html
Top