Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Once you get the values, put them in an array and iterate through it backwards instead of forewards.
  2. You'll solve it by correcting what you're inserting...as I suggested, when you upload it, you will give it a new name, and that will be the name you store...
  3. "thanks, but I still get that error when calling the function from a second file if it does not include the class definition." Yes, because the class definition doesn't exist...you need to include it like monk.e says
  4. It's just a variable, you use it like any other. uploadImage($_FILES['image']['tmp_name']['0']); function uploadImage($file){ print $file; }
  5. Gotta put your session_start() after the class declaration. <?php session_start(): Class myClass{ } ?> Makes that error. Do this: <?php Class myClass{ } session_start(): ?>
  6. <textarea>Value</textarea>
  7. The word is interest. What is the problem with the code? What is the result, and expected result?q
  8. What makes you think its not executed? The code looks fine. You might want to add the or die() clause after your mysql_query as well.
  9. Put that at the end of the change_president.php script, but before any output.
  10. When you upload the file, you give it a new unique name, yes? Store that name instead of the one submitted by the browser.
  11. You can also use third-party services to run your cron job if you set it up using wget. Any decent host will let you do cron jobs. GoDaddy's cheapest 2.99 plan lets you do cron jobs. My husband has used 1&1 but I don't know what their setup was.
  12. If their TOS says they won't put ads on your site, then contact THEM and get them to take if off properly. But I think you'll find upon closer inspection, that the agreement you agreed to says they will put those text ads up.
  13. Yes <? works if short tags is enabled, but what you have written there is <?p <-- note the p. PHPMyAdmin is a php program to interact with MySQL. I'm not sure what program you're referring to. It might be easier for you to just use a linux host with php already set up, rather than try to set it up yourself. Or you could try something like WAMP We can't really help with the information provided.
  14. intval() might work too, if the ID number is only numbers.
  15. so put them in before the SUM SELECT row1, row2, SUM(x) AS y
  16. I love the old "It's not a bug, it's a feature" excuse. Nice.
  17. Isn't that the opposite of what he wants? He said not a big footprint
  18. You can certainly buy CDs with Linux, it doesn't HAVE to be free
×
×
  • 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.