Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Do you absolutely require an array? Why don't you load it into something like an simplexml object and use XPath.
  2. echo "" . $row[0] . ""; See how you have $row['0']? Does that display correctly? (you don't need the single quotes btw)
  3. Since mysql_fetch_row() returns an array, that is correct. You need to give it a key just like in your other $row references.
  4. You're missing the next step, which is actually extracting the result set. You need to use something like - mysql_fetch_assoc - there are examples in the link.
  5. This topic has been moved to CSS Help. http://www.phpfreaks.com/forums/index.php?topic=341148.0
  6. Wrong section... I'll move it.
  7. In the future, please place OR tags around your code.
  8. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=341136.0
  9. Again, in the manual - DATE_FORMAT. Why are you typing in all caps?
  10. Yes, look in the manual for more information: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_now There are examples, explanations, etc.
  11. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=341131.0
  12. oops ;/ That's a lot anyway, but a whole different design issue. As fenway suggested, echo out your values when you're passing them from the HTML form, to the processing form (before you insert) to make sure the values are correct.
  13. You have a comma in your table name: i_Pad_Well_Names_1,
  14. Sure, what are your goals?
  15. You can always just get a Cloud Girlfriend
  16. You are right. Double posting is a nono, this thread is locked, use the above link for further help (and don't double post again).
  17. Maq

    using distinct

    Interesting. I guess it makes sense, I'll have to check it out.
  18. I'm with requinix, you should find the root of the cause rather than contriving a hackish script to kill PIDs. Can you elaborate?
  19. Maq

    using distinct

    I hear that is also a good idea to list the fields in the order they are in the database skipping the ones not needed. I could be wrong but that is what I heard. Haven't heard of that, do you know for what reason(s)?
  20. scottmmx, instead of attaching your entire code, post the relevant bits. Also, if you really are coding in MS word, which is hard to believe, then I strongly suggest using some sort of IDE. Here's a list: http://www.phpfreaks.com/forums/index.php?topic=277416.0
  21. Maq

    using distinct

    Use GROUP BY: $query = "SELECT * FROM payments GROUP BY payment_type"; Also, don't use * unless you really do need all the columns.
  22. What are you trying to do? I don't get what this is.
  23. Listen whiteboy, I saw your other thread and you convey a sense of denseness. That IS what you need. A few pieces of advice; when making a thread, ask a question. Your OP does a very poor job trying to describe your issue. You obviously didn't even attempt to try this yourself, a simple Google search would get you well on your way.
  24. Ok good, because I don't know a thing about action script
  25. This topic has been moved to Introductions. http://www.phpfreaks.com/forums/index.php?topic=341058.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.