Jump to content

AndyB

Staff Alumni
  • Posts

    5,465
  • Joined

  • Last visited

    Never

Everything posted by AndyB

  1. revisited - http://xkcd.com/384/
  2. Given the guess and the admission by the OP, it strikes me that this isn't the sort of thing where phpfreaks should help. Unless the OP can make a convincing case for allowing it to continue, this thread is locked.
  3. http://news.bbc.co.uk/2/hi/uk_news/7679145.stm
  4. my fault. It should be $result = mysql_query($conn,$query) or die("Error: ". mysql_error(). " with query ". $conn);
  5. AndyB

    SQL Query

    $lesslaboe=$_POST['lesslabor']; should be $lesslabor=$_POST['lesslabor']; shouldn't it?
  6. $updatewhat can't be $where AND $updatemon in the same row. Can you explain what you really want to do? Maybe you meant OR rather than AND
  7. I don't get that error message. I assume the problem is fixed.
  8. order is a MySQL reserved word. You can't use them as field names or table names. http://dev.mysql.com/doc/refman/5.0/en/reserved-words.html Either change the field name or add `backticks` as a cheap work-around.
  9. Trap errors while developing. Change: $result = mysql_query($conn,$query); to: $result = mysql_query($conn,$query) or die("Error: ". mysql_error(). " with query ". $conn;
  10. http://www.w3schools.com/Css/css_outline.asp
  11. one table with image link (and other image-relevant info maybe) plus the gallery number is what I'd use. Then you can retrieve all data for any specific gallery.
  12. http://www.phpfreaks.com/forums/index.php/topic,95426.0.html
  13. LIMIT definition:
  14. non-profit, i.e. they don't make a profit. Their expenses match their revenues. It doesn't mean everybody works for free.
  15. No kidding. What ICANN really is - http://en.wikipedia.org/wiki/Internet_Corporation_for_Assigned_Names_and_Numbers
  16. View the generated html source code - you have unclosed ul statements strewn all through it. I'd say your problem originates with the php
  17. It's got absolutely nothing to do with the form of the 'submit' thing. I searched the internet for 2 seconds for "submit form on enter javascript". http://www.google.ca/search?q=submit+form+on+enter+javascript&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a
  18. Yes. Save the image you want to use on your own server (and use your own bandwidth). IMDB might not be too happy if you 'borrow' their image.
  19. No. You already have this same topic as an open thread where you have been given the answer. Thread locked.
  20. I'm not too sure what you're asking for, but maybe this will help: list($y,$m,$d) = explode("-",$date); It returns the year, month, and day values from a yyyy-mm-dd date
  21. time for some reading - http://en.wikipedia.org/wiki/Domain_name
  22. Please show the database structure for these tables.
  23. That's ambiguous. Perhaps some punctuation would help. Posting the actual problem you are experiencing, and providing contextual information might clarify just what your problems are, instead of expecting respondents to solve it through the fog of your descriptions and unhelpful examples.
  24. Hvae you checked the generated HTML (view source) to see if your logic is working? The correct syntax for option selected is: <option value='something' selected='selected'> .... etc
×
×
  • 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.