Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. That would be.... SELECT * FROM blog ORDER BY id DESC
  2. While there are ways of doing what you want, I would consider your logic a serious design floor. really, it is going to make your method seem unreliable.
  3. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=309061.0
  4. Have you actually installed the php plugin for netbeans? It has syntax highlighting. As for the 80 chars. Its just an old rule from when programming was done in a terminal. Allot of projects still stick with this convention.
  5. A nice color theme? Whats wrong with the default? Also, lines shouldn't really exceed 80 chars long when programming IMO. Netbeans should display a red line at 80 chars, don't go too far past there.
  6. I'm not really a samba user but if that is giving you the desired results, we can assume it is correct. I thought the mask would work the same as umask does in Linux, apparently it works exactly the opposite way.
  7. Within the samba config for this directory you'll need to set the umask. Something like.... create mask = 022
  8. I understand what your trying to do, just not why your trying to do it. If you really think you need to store script in your database there is something else wrong with the design of your application.
  9. We are not here to write code for people. Where exactly are you stuck?
  10. One is for building applications with, the other, is an application itself.
  11. Post your current code then.
  12. You could write a trigger that accomplishes the same I guess.
  13. Actually, thinking about it a little more. Column C would be just a waste of space in your example. You can easily enough combine Column's A & B whenever you do your data retrieval.
  14. You would need to do this within your actual insert statement.
  15. trq

    mysql front ends

    phpmyadmin is pretty popular. http://www.phpmyadmin.net
  16. You need to wrap that code in another if that checks $_GET['action'] actually exists. if (isset($_GET['action'])) { // code }
  17. This completely depends on how php was configured. Some hosting use a single global php.ini maintained by the host themselves. If php has been configured to execute as cgi (which is slower) hwoever, you can usually have your own php.ini within your document root. In this ini file, you can customize what you want. Anything not within this file will be populated from the global ini. PHP5.3 also now allows per site php.ini's to be configured even when php is installed as an Apache module.
  18. trq

    Add News

    desc is a reserved word. Rename it.
  19. This topic has been moved to Application Frameworks. http://www.phpfreaks.com/forums/index.php?topic=308958.0
  20. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=308956.0
  21. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=308937.0
×
×
  • 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.