Search results

  1. diabolo

    Another one of those header output problems.

    thank you descalzo, had a space in the connect.php line 11. these little things catch you off guard but now a new problem has arisen (sp?): I set $lang if it checks and passes to a DEFINE define('LANG', $language); //BRINGS IN THE LANGUAGE FILES require...
  2. diabolo

    Another one of those header output problems.

    I have a language selection which first sees if $_GET['lang'] is set, or a cookie is set. <?php if (!defined('ROOT')) die; $text['english'] = "English"; $text['trad-chinese'] = "中文"; // here you add the languages. ob_start(); global $defaultLang; /*...
  3. diabolo

    New Premium Hosting + VPS Plans! (Coupons!)

    o man, I was about to buy a VPS like last week. thank god I waited. now im gonna have to buy one soon. and look at that, I can also get cPanel with the lowest one now... but I thought before cPanel used to be just a one-time fee?
  4. diabolo

    Do you think we should convert all scripting to server side scripts

    this sounds more like a cross-fire topic, but ill go with the flow for now. and I shall respond with a question: Do you think think we should define the future of webdesign as the past but without ehancibility? because for the future, we would like to progress and not de-gress(sp?). so if we...
  5. diabolo

    Looking for the best possible AJAX/PHP Form Validation.

    yeah thats what i don't want it to be, tied into my code because im sure i will be using that more than once
  6. diabolo

    Looking for the best possible AJAX/PHP Form Validation.

    of course I googled it up. =) i found that site, but it didn't give me a clear consice way to do it. or im just lazy, when i see all that type.
  7. diabolo

    Looking for the best possible AJAX/PHP Form Validation.

    I am looking for the best available form validation script there can possibly be. =] graceful degration (if the client does not have JS enables, go to PHP) cross-browser compatibility simple to install uses unobtrusive JS able to be used more than once. (object-orientated JS?) so far I've...
  8. diabolo

    Portfilio Take Two

    ` "Latest Project" looks too small ` the nav looks likes its slapped in there, maybe add something extra to the hover ` i find portolio sites that I have to scroll on very annoying. UNLESS they are showcasing all their work on that page. and I've only seen some that pull that off.
  9. diabolo

    How to make inserting a million rows into MySQL faster/more efficient?

    wouldn't your second method be more slower, since you have to run it though multiple loops. and what happens if an error happens midway, and it drops the table, wouldn't you lose all the time/hard work? but i will try the first one
  10. diabolo

    How to make inserting a million rows into MySQL faster/more efficient?

    function createChancePool($organizationID) { $sql = "SELECT numChance FROM organizations WHERE id='$organizationID'"; $result = mysql_query($sql); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $numChances = $row['numChance']; } $table = "chancePool_$organizationID"; $sql = "DROP...
  11. diabolo

    making cheap and great logos for websites

    are they in vector format?
  12. diabolo

    How come PHP is not insertting my data into MySQL?

    yes I did and I came up with this: $sql = ->INSERT INTO members (fName, lName, address, city, zipcode, phone, email, cardNum, securityCode, expMonth, expYear) VALUES ('dfgh', 'asdf', 'sdf', '', 'df', 'sdfsdf', 'sd', '', , '', '') <-- I think I might know where the problem is, but rite now im...
  13. diabolo

    How come PHP is not insertting my data into MySQL?

    the check_input function already puts in the single quotes if the string is not numeric. please read the whole thing before commenting.
  14. diabolo

    How come PHP is not insertting my data into MySQL?

    o keyword, replace. but still no avail. $sql = "INSERT INTO members (id, password, ipaddress, fName, lName, address, city, zipcode, phone, email, cardNum, securityCode, expMonth, expYear, organizations) VALUES ('', '', ''...
  15. diabolo

    How come PHP is not insertting my data into MySQL?

    $sql = "INSERT INTO members (id, password, ipaddress, fName, lName, address, city, zipcode, phone, email, cardNum, securityCode, expMonth, expYear, organizations) VALUES ('NULL', 'NULL', 'NULL', $fName,$lName,$address,$city,$zipcode,$phone,$email,$cardNum,$securtiyCode,$expMonth,$expYear...
  16. diabolo

    How come PHP is not insertting my data into MySQL?

    that was a smart idea. get php to tell me whats going wrong xP error:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''','', NULL)' at line 1 I think i am using MySQL 5? yes, I am using 5.0
  17. diabolo

    How come PHP is not insertting my data into MySQL?

    register.php <?php include ('config.php'); ?> <html> <head> <title>Menu Maniac</title> <LINK REL=StyleSheet HREF="style.css" TYPE="text/css" MEDIA=screen> </head> <body> <div id="width"> <?php if (isset($_POST['Submit'])) { $fName = check_input($_POST['fName']); $lName =...
  18. diabolo

    How does facebook do this?

    thank you mission that is exactly the kind of answer i needed may be closed now.
  19. diabolo

    What do you think?

    that blue background is adding onto the headache im already having. the text is hard to see and and again the blue bg i also don't see much pizzaz resolution: 1280x1024 browser: firefox 3
Top