1. Post #1321
    Any tips on making websites easy for computer-illiterate clients to add and remove information from?
    Reply With Quote Edit / Delete Mac Denmark Show Events

  2. Post #1322
    I paid $2 for this
    Miljaker's Avatar
    October 2010
    791 Posts
    Any tips on making websites easy for computer-illiterate clients to add and remove information from?
    Do it for them and ask $? If not a cms.
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  3. Post #1323
    Tuba Player Extraordinaire
    Funcoot's Avatar
    January 2006
    3,592 Posts
    Any tips on making websites easy for computer-illiterate clients to add and remove information from?
    As much as I hate suggesting this, use wordpress. A lot of web design firms use wordpress as a CMS because it is easy to use for computer illiterate clients and allows them to easily customize the content on their site.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  4. Post #1324
    Gold Member
    StinkyJoe's Avatar
    June 2006
    2,196 Posts
    i use
    * { margin:0px; padding:0px; }
    That's bad and you should feel bad, charlie.
    Reply With Quote Edit / Delete Linux Portugal Show Events Agree Agree x 2Zing Zing x 1 (list)

  5. Post #1325
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    Can anybody help me with css styles
    i need to fix this shitty table and i have no idea what the fuck im doing
    http://www.vizze.net/arcanum/items.php
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  6. Post #1326
    rookwood101's Avatar
    September 2011
    256 Posts
    Can anybody help me with css styles
    i need to fix this shitty table and i have no idea what the fuck im doing
    http://www.vizze.net/arcanum/items.php
    Fix? Depends on what you want it to look like.
    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 1 (list)

  7. Post #1327
    Billy2600's Avatar
    August 2009
    689 Posts
    Using a float:left on this image causes it to break out of it's <div> like so:

    Any way to fix it? It's parent div has no position properties.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  8. Post #1328
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    Using a float:left on this image causes it to break out of it's <div> like so:

    Any way to fix it? It's parent div has no position properties.
    way too much fucking blue
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 5 (list)

  9. Post #1329
    zhed+redball.jpg
    xmariusx's Avatar
    May 2010
    1,447 Posts
    Using a float:left on this image causes it to break out of it's <div> like so:

    Any way to fix it? It's parent div has no position properties.
    Add a 100% wide <hr /> with position relative at the end of the post. The <hr />, can be 0px high
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  10. Post #1330
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    Any tips on making websites easy for computer-illiterate clients to add and remove information from?
    You might make more money if you update it yourself.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  11. Post #1331
    Sharpshooter's Avatar
    April 2007
    1,230 Posts
    Using a float:left on this image causes it to break out of it's <div> like so:

    Any way to fix it? It's parent div has no position properties.
    apply overflow:auto to the div.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 1 (list)

  12. Post #1332
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    or was it overflow:hidden

    hmmm
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  13. Post #1333
    Billy2600's Avatar
    August 2009
    689 Posts
    apply overflow:auto to the div.
    or was it overflow:hidden
    Either one of these work. Thanks for the help guys.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  14. Post #1334
    Upload Images
    kragmars102's Avatar
    April 2011
    737 Posts
    solved.
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  15. Post #1335
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    Code:
    <?php 
    mysql_connect("$host", "$username", "$password")or die("cannot connect"); 
    mysql_select_db("$db_name")or die("cannot select DB");
    if ( isset ( $_POST['Submit'] ) ) //If submit is hit
    {
    $name = $_POST['name'];  
    $category = $_POST['category'];  
    $class = $_POST['class'];  
    $level = $_POST['level'];  
    $bind = $_POST['bind'];  
    $tier = $_POST['tier'];  
    $trade = $_POST['trade'];  
    $ilvl = $_POST['ilvl'];  
    $amod = $_POST['amod'];  
    $xdmg = $_POST['xdmg'];  
    $description = $_POST['description'];  
    $description2 = $_POST['description2'];  
    $description3 = $_POST['description3'];  
    $sprice = $_POST['sprice'];  
    $bprice = $_POST['bprice'];  
    $percent = $_POST['percent'];  
    $source = $_POST['source'];  
    $tnail = $_POST['tnail'];  
    $result=MYSQL_QUERY("INSERT INTO items (name, category, class, level, bind, tier, trade, ilvl, amod, xdmg, description, description2, description3, sprice, bprice, percent, source, tnail)".
    "VALUES ( '$name', '$category', '$class', '$level', '$bind', '$tier', '$trade', '$ilvl', '$amod', '$xdmg', '$description', '$description2', '$description3', '$sprice', '$bprice', '$percent', '$source', '$tnail' )")or die( "<p><span style=\"color: red;\">Unable to select table</span></p>");
    mysql_close();
    //confirm
    echo "<p><span style=\"color: red;\">Thank You; your comments have been entered in my database. DO NOT REFRESH THE PAGE or data will be sent again.</span></p>"; 
    }
    else
    {
    // close php so we can put in our code
    ?>
    Why the hell won't this submit to my database?
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  16. Post #1336
    I paid $2 for this
    Miljaker's Avatar
    October 2010
    791 Posts
    mysql_query("INSERT INTO table (column1, column, column3) VALUES ('value1', 'value2', 'value3' )");
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  17. Post #1337
    Upload Images
    kragmars102's Avatar
    April 2011
    737 Posts
    mysql_query("INSERT INTO table (column1, column, column3) VALUES ('value1', 'value2', 'value3' )");

    Code:
    mysql_query("INSERT INTO table (column1, column, column3) VALUES ('value1', 'value2', 'value3') ");
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  18. Post #1338
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    I changed it, but still no luck. All of the database information is defined earlier in the document so i know that isn't the issue. Could it be related to the html form?
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  19. Post #1339
    I paid $2 for this
    Miljaker's Avatar
    October 2010
    791 Posts
    I changed it, but still no luck. All of the database information is defined earlier in the document so i know that isn't the issue. Could it be related to the html form?
    Give us the code so we can check...
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events

  20. Post #1340
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    PHPass generates a new hash every time. So how do I check if the two hashes are the same?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  21. Post #1341
    Gold Member
    Crhem van der B's Avatar
    January 2010
    1,692 Posts
    Still barely learning Ruby and RoR, but I'm having trouble understanding something.
    I've created a scaffold for the users table (and etc.), however, afterwards, I edited it and added fields such as 'salt' and 'pin'.
    Now, methods such as User.find_by_id and find_by_name work pefectly, but for some reason find_by_pin doesn't seem to work. Any ideas?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  22. Post #1342
    Gold Member

    June 2011
    297 Posts
    (Note: I'm useless when it comes to anything related to web development)

    I have this set as the background of the body in my HTML file that I'm going to use for my loading screen.

    How would I go about making the image resize automatically based on the resolution of the player? If this isn't possible what would be the best thing for me to do?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  23. Post #1343
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  24. Post #1344
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    i just use jquery to resize bg's automatically.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Disagree Disagree x 1 (list)

  25. Post #1345
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    I normally avoid the use of javascript to style shit at all costs
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 3 (list)

  26. Post #1346
    Gold Member
    Dennab
    January 2012
    1,137 Posts
    i just use jquery to resize bg's automatically.
    What about users that have JS disabled?
    Reply With Quote Edit / Delete Mac United States Show Events Funny Funny x 1 (list)

  27. Post #1347
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    What about users that have JS disabled?
    For my site most of the userbase has it enabled since they'll find it from sources like youtube. But I can see where that would be a problem. Would there be any reason why i can select from my database using php, but Insert into automatically fails?
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Dumb Dumb x 1 (list)

  28. Post #1348
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    For my site most of the userbase has it enabled since they'll find it from sources like youtube. But I can see where that would be a problem. Would there be any reason why i can select from my database using php, but Insert into automatically fails?
    I can think of two things: 1) your insert statement is fucked up (most likely), or 2) you don't have permissions to insert

    look at the documentation for the mysql interface you're using and check to see if you can get error data
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  29. Post #1349
    Gold Member
    loony383's Avatar
    June 2007
    738 Posts
    So, really new to jQuery, but hit a snag, though more of a CSS one. I have jQuery to toggle a div for a loin box when they click the link, that works fine however the position of the div isn't, it is just pushing everything around, how can I position it directly below the link that toggles it?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  30. Post #1350
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    I can think of two things: 1) your insert statement is fucked up (most likely), or 2) you don't have permissions to insert

    look at the documentation for the mysql interface you're using and check to see if you can get error data
    Nope, i've had it checked by two sources and both of them say the insert statement is fine. I'll check the permissions but my SQL account has global permissions so I don't think that would be the issue?
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  31. Post #1351
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    position:absolute, maybe?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  32. Post #1352
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    Nope, i've had it checked by two sources and both of them say the insert statement is fine. I'll check the permissions but my SQL account has global permissions so I don't think that would be the issue?
    obviously you're doing something wrong if you can't do such a common action
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  33. Post #1353
    Gold Member
    Dennab
    January 2012
    1,137 Posts
    Can you post your statement here?
    Reply With Quote Edit / Delete Mac United States Show Events

  34. Post #1354
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    obviously you're doing something wrong if you can't do such a common action
    I know i'm doing something wrong but I can't find the issue
    Code:
    $result = $con->query("INSERT INTO $tbl_name VALUES ('" . $name . ", " . $category . ", " . $class . ", " . $level . ", " . $bind . ", " . $tier . ", $trade.", $ilvl . ", " . $amod . ", " . $xdmg . ", " . $description . ", " . $description2 . ", " . $description3 . ", " . $sprice . ", " . $bprice . ", " . $percent . ", " . $source . ", " . $tnail . "')") or die(mysql_error());
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  35. Post #1355
    Gold Member
    Dennab
    January 2012
    1,137 Posts
    try changing
    Code:
    , $ilvl . ",
    to
    Code:
    , ". $ilvl . ",
    Edited:

    same with $trade before it
    Reply With Quote Edit / Delete Mac United States Show Events

  36. Post #1356
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    Did that, trade was also missing it. Still, its not biting.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  37. Post #1357
    Gold Member
    Dennab
    January 2012
    1,137 Posts
    Something that sometimes helps is if you create a dummy file with dummy data with the same variable names that are used in the query, then run an echo with what would have been the query and see if it's all going through properly.
    Reply With Quote Edit / Delete Mac United States Show Events

  38. Post #1358
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    I know i'm doing something wrong but I can't find the issue
    Code:
    $result = $con->query("INSERT INTO $tbl_name VALUES ('" . $name . ", " . $category . ", " . $class . ", " . $level . ", " . $bind . ", " . $tier . ", $trade.", $ilvl . ", " . $amod . ", " . $xdmg . ", " . $description . ", " . $description2 . ", " . $description3 . ", " . $sprice . ", " . $bprice . ", " . $percent . ", " . $source . ", " . $tnail . "')") or die(mysql_error());
    i'm p. sure it's the query (or even a PHP syntax error)

    try something like this

    Code:
    $result = $con->query("INSERT INTO `{$tbl_name}` VALUES ('{$name}', '{$category}', '{$class}', '{$level}', '{$bind}', '{$tier}', '{$trade}', '{$ilvl}', '{$amod}', '{$xdmg}', '{$description}', '{$description2}', '{$description3}', '{$sprice}', '{$bprice}', '{$percent}','{$source}', '{$tnai}')") or die(mysql_error());
    you're using a fucking template aren't you

    this actual query is a bad idea, you shoud invest in PDO

    Edited:

    and yeah, you should actually see what you're putting into this query
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  39. Post #1359
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    umm no im not using a fucking template
    this is all coded from scratch. I'll try and follow up on these suggestions. This is pretty much my second day working with PHP so.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  40. Post #1360
    Meow :3
    Ac!dL3ak's Avatar
    July 2005
    6,087 Posts
    before you go any further

    http://php.net/manual/en/book.pdo.php
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 2 (list)