Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=328272.0
  2. This board is for help with code not help finding it.
  3. trq

    Query Problem

    Sorry, none at all.
  4. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=328244.0
  5. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=328252.0
  6. The mail function does not rely upon IMAP or POP3. Can you describe what you mean by "is not working like it used to be.." ? Is mail() returning true but your not receiving emails?
  7. No it wouldn't. Are the classes at all related or does one simply have some functionality that the other requires? There is a *MASSIVE* difference.
  8. You need to explode into a new array using a delimiter (looks like tab from here), the problem you have is that the state and city don't follow the same pattern (eg; they are joined). Is this what your actual data looks like? Something like.... if ($lines = file("test.txt")) { foreach ($lines as $line) { list($zip, $city, $county, $code) = explode("\t", $line); echo "zip = $zip, city = $city, county = $county, code = $code"; } } If you state and city really are joined you'll need to use substr to break them apart.
  9. A database is likely the easiest option.
  10. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=328141.0
  11. There is no definitive answer, just opinion. Often the one that is well suited to your style of development and specific project requirements will be the best one to use.
  12. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=328109.0
  13. Firstly, this board's subject is PHP Installation & Configuration, what exactly makes you think this post belongs in the category? Secondly, your not going to learn PHP well enough in two days to pass any exam on the subject, if I were you I would simply face this fact and move on, better luck next time. The manual however (http://php.net/manual) is the best resource for all things PHP. Everything outlined in your post is covered in the manual.
  14. This is a completely different question and belongs in the Ajax board. I suggest you open a new thread there. While your in the Ajax board you should read the very first sticky, no one writes there own Ajax methods these days.
  15. Have you read this? http://www.phpfreaks.com/forums/index.php?topic=323280.0
  16. jQuery is a client side (Javascript) library, nothing at all to do with PHP. The GD extension is generally available for manipulating images in PHP.
  17. Your logic is backward. Your saying if the record exists that it doesn't and vice versa.
  18. An example of the logic involved in executing a select query. $sql = "SELECT fld FROM tbl"; if ($result = mysql_query($sql)) { if (mysql_num_rows($result)) { // it is safe to use $result. } else { // no records returned } } else { // query failed, handle error. }
  19. Are you sure your query is even working? You haven't bothered to check.
  20. See http://au2.php.net/manual/en/language.oop5.properties.php
  21. See http://www.phpfreaks.com/forums/index.php?topic=37442.0
  22. I used to use dynamically loading js, but it ended up being allot more efficient to put all js into one file and the minify it. Its the actual http requests to multiple files that hurts more than size. Of course it would also depend on what sizes where talking about. Loading a 50k-80k file just to use one function etc etc.
  23. Have you checked out some of the editors mentioned in this thread?
  24. This board is here for questions directly relating to already existing Third Party code. It is NOT a code repository or the place to post requests looking for specific scripts. If you can't find the script you are looking for on Google, you either don't know how to use Google or the specific script does not exist. DO NOT request help with searching.
×
×
  • 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.