Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. trq

    Query Help

    Your database design is the problem. Why do you have multiple tables containing the same types of data?
  2. Really, it wouldn't hurt you to try and debug your own code, what have you done? echo $amacontent to see what it is actually returning.
  3. If you can access phpmyadmin then php IS working. That makes this a PHP Coding question, not an install question. I would post your question in the third party scripts board seeing as it doesn't sound like you wrote this code yourself.
  4. ps: JavaScript is in no way related to Java.
  5. If WAMP is setup you just need to put the code in place. This isn't really an install question.
  6. And what is your question?
  7. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=332275.0
  8. And what exactly do you need help with?
  9. This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=332276.0
  10. This topic has been moved to Apache HTTP Server. http://www.phpfreaks.com/forums/index.php?topic=331900.0
  11. Neither of these statements are absolutely true. When you are using arrays within a double quoted string you don't actually need to quote the keys separately as PHP doesn't look for CONSTANTS within strings. Of course, it is always best to stick to good habits and quote your non numeric keys. The braces {} are also only a recommendation when dealing with complex variables such as arrays and objects within double quoted strings.
  12. Because you have an array within an array. It's not really necessary really though.
  13. You would need to call the function via the Search object. Whether or not that is done on page load would be up to you I suppose, I'm not sure it would make sense to do so.
  14. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=332178.0
  15. $array = array(); $array['gigs'] = array(); while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $array['gigs'][] = $row; } $output = json_encode($array); Should get you.... { "gigs":[ {"date": "06-05-2011", "gl_venue": "O'neills", "gl_city": "Southend"}, {"date": "07-05-2011", "gl_venue": "Power League", "gl_city": "Peterborough"} ] } And so on.
  16. Pfff. Use firebug to debug JavaScript.
  17. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=332103.0
  18. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=332028.0
  19. Hmmm, I smell spam.
  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. 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.
  22. Have you checked out some of the editors mentioned in this thread?
  23. 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.
  24. I'm not sure how that would be achieved through php. The rule is that you use a before words that start with a consonant sound and an before words that start with a vowel sound.
  25. You'll need to be more descriptive. Your example makes little sense to me.
×
×
  • 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.