Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. The clean simple look is really nice and overall I like it. A few minors: There is a lot of empty space in the top right. Maybe move the "Proem" block up and to the right, and shrink the tree a bit. I would like for "issue" to open up a new tab like the "Fork Proem!" button does. I find the giant tree background in the "Documentation", "Contribute", and "About" sections to be distracting. Maybe a lighter image or something.
  2. No, and this does not belong in the php coding section, moved.
  3. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=356052.0
  4. Hi and welcome.
  5. You can keep concatenating the address to itself based the condition like this: $address = " Address 1: " . $address1 . " "; if (isset($address2)) { $address .= $address2 . " "; } $address .= $city . ", " . $state . " " . $zip . "";
  6. I would but I simply don't have enough time. Looks pretty awesome though.
  7. Welcome to the team.
  8. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=355706.0
  9. In the future, place OR tags around your code.
  10. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=355524.0
  11. Double post: http://www.phpfreaks.com/forums/index.php?topic=355385.0
  12. Allenph9, please do not double post.
  13. That's the general idea, some suggestions: - Use complete tags (<?php). - Better formatting. It will help you in the long run. - Instead of using or die (which I think is OK for debugging) properly handle errors - http://www.phpfreaks.com/blog/or-die-must-die
  14. Moving to MySQL to get the query first. Not sure what you mean by "with array" but you have to SUM() "hours" and "Shift Cost" and GROUP BY() "Username". '£' may give you some trouble. Try it yourself and post what you come up with.
  15. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=355120.0
  16. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=355108.0
  17. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=354910.0
  18. Post some example code of what's breaking. Remember you have to declare session_start on every page you want to use sessions.
  19. Please post the pertinent code, not the entire file.
  20. I would suggest reading some tutorials and trying some examples so you better understand the two.
  21. He meant actually echo the $sql value. Put or die at the end to see the error: $res = mysql_query($sql, $dbase) or die(mysql_error()); - Remove the '=' after rooms in your query. - Where are 'min_price' and 'max_price' in your HTML form?
  22. I guess you could grab the screen size and just divide by 2 when you set the table size. Try: Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); table.setSize(screenSize.width / 2, screenSize.height / 2);
  23. Instead of statically calling these packages just import them at the top. That's a bit ambiguous, what part of the table do you want to increase the size to? Padding, height, width, overall table size, what? Have you looked at the documentation? - http://docs.oracle.com/javase/1.5.0/docs/api/javax/swing/JTable.html
  24. If you want to change the font for every cell you can simply set the font directly to your table: final JTable table = new JTable(data, columnNames); table.setFont(new Font("Serif", Font.BOLD, 20));
  25. You set it in the cellrenderer. There are a few ways to do this depending on how you're building your table. Show us your code.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.