Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. mysql_insert_id
  2. This topic has been moved to Installation in Windows. http://www.phpfreaks.com/forums/index.php?topic=312024.0
  3. unless you need to match patterns you should be using strpos.
  4. ../../includes/include.inc
  5. Depending on your MySql version you may also be able to use the built in scheduled events. See http://dev.mysql.com/doc/refman/5.1/en/events-overview.html
  6. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=311981.0
  7. trq

    power outage

    I would go a step further than that and buy a ups. You shouldn't really be running any production servers without one. I run a few dev servers from home and even have my own ups there. It'll only hold up for about 45 minutes, but still, its something. As for displaying a 'maintenance' page. Some DNS services offer this, check yours.
  8. If they're not in the manual, they are not in php.
  9. Remove the..... $ArrayData = mysql_fetch_array($QueryData); line.
  10. You forgot to show us the piece of code that executes the query. Do you call mysql_fetch_array() anywhere else before the code you have posted?
  11. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=311943.0
  12. You can use anchors within your links, then have certain Ajax functionality execute when the anchors are found in the url.
  13. Looks fine for me in FF 3.6.10. There hasn't been any upgrade, maybe its the adds. I'll have to take a look this afternoon.
  14. Do you have an example?
  15. The general process is to validate and process within the same script. Do you need to pass this data to a third party or something? Why are you doing it in two steps?
  16. Whats exactly do you mean by 'breaks'?
  17. if (empty($array)) { echo 'The array named $array is empty'; }
  18. It is possible, but considering php is a server side language, it has nothing at all to do with php. http://www.google.com.au/search?q=css+embedded+fonts
  19. MD5 is a mysql function. http://dev.mysql.com/doc/refman/5.1/en/encryption-functions.html#function_md5
  20. I can only assume it was Eric who made these changes / restarted MySQL. I haven't logged in for a few days.
  21. The amount of file processing your likely to need to do this is very likely to out way the processing of simply querying a database.
  22. You don't want to store all the values in one record within the database, that would be a poor design decision. Instead, each of these values should have there own row. You can then use another items 'id' to relate them if need be.
  23. Do I have an example? The link I gave you has plenty of examples, and explains what arguments the function accepts as well as what it returns. Your post above uses the system function, which can also execute external programs. Read the manual, it is the definitive guide.
  24. Take a look at shell_exec.
  25. Just loop through the array and store each value as you go.
×
×
  • 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.