Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. It helps if you debug your code yourself before simply pumping out questions on a forum. It'll not only make you a better programer but a faster one.
  2. There are plenty of tutorials around that cover pagination, do you really want us to write another one especially for you?
  3. Your code looks fine, what does firebug have to say?
  4. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=328311.0
  5. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=328272.0
  6. This board is for help with code not help finding it.
  7. Adding an entry to your hosts file has no effect on whether or not your server can be seen from the WAN, it simply allows you to use the same domain name (as you would on the WAN) internally. Yes the example you have looks fine, it could be anything you like and you can add more than 1.
  8. trq

    Query Problem

    Sorry, none at all.
  9. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=328244.0
  10. Your outside ip address or domain name will not be available from inside, simply add an entry to your OS's hosts file. On Linux it is within /etc/hosts, Windows, I think its within C:\Windows\System32\Drivers\etc or similar (you'll need to search for it, I'm not a windows user).
  11. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=328252.0
  12. 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?
  13. I agree entirely. Not having to mix JavaScript in with your markup alone is of massive benefit, let alone all the extra functionality you can implement in just a few lines of code.
  14. 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.
  15. 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.
  16. A database is likely the easiest option.
  17. You are aware that a PHP extension exists for imagick? http://au.php.net/imagick
  18. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=328141.0
  19. What The Little Guy has shown you is an SQL statement, SQL statements are executed via (amongst others) PHP's mysql_query() function. See the manual (here) for details of it's usage.
  20. 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.
  21. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=328109.0
  22. 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.
  23. 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.
  24. Have you read this? http://www.phpfreaks.com/forums/index.php?topic=323280.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.