Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. So are you doing $_POST['callid']? You need to access it correctly. Browsers do not influence PHP, the only thing that they affect is stuff like cookies - not MySQL. There has to be another problem than the BROWSER. Don't worry about that for now, just look at the errors. Add this to the top of your pages: ini_set('display_errors', 1); error_reporting(E_ALL); Edit: Yeah, IE probably doesn't submit images. Make it a hidden field.
  2. So $callid is not set. Where is it supposed to be set to a value?
  3. If you're counting on $350 to pay the bills, get some more gigs quick! :-P Not much you can do. Artists get screwed this way all the time, more often than programmers. Consider it a learning experience. Make sure to include in your contracts that even if they don't use the code, they owe you for hours worked that they asked for.
  4. keeB, thanks for the info, I actually learned something today
  5. So where is $last defined? You're obviously not setting it, so where is it supposed to come from? Is it in the URL (use $_GET['last']). Is it posted? Use $_POST. Session? use $_SESSION. Otherwise, it's made up and has no use
  6. If it's around 500 or so, take it to small claims. I know he's in CA but I bet they can do something.
  7. Where are they coming from? last=$last doesn't make any sense. Are you saying it says undefined variable, or undefined index? Post the ACTUAL error and the lines of code it refers to.
  8. In the forum, the code tags. Write [.code][./code] around your code, without the .s Try adding this: $sql6="UPDATE xocai SET call1='$callid' WHERE id='$id'"; print $sql6; See if it is what you think it should be.
  9. There is nothing wrong with the code you've posted. What doesn't work? Use code tags please.
  10. To turn on error reporting: ini_set('display_errors', 1); error_reporting(E_ALL);
  11. i don't think so...try it and see. you should always check for any possible error-causing situations in the code though.
  12. Post the code then. And a link to the site if you don't mind.
  13. Get payment BEFORE doing work. Also, this isn't the appropriate forum, sorry. In the future get a contract and 50% up front and consider this a learning experience.
  14. There is probably more to it than that. Is IE set to accept cookies?
  15. I use $url = $_SERVER['REQUEST_URI'];
  16. I avoid problems like this by using a font specially made for programming called Proggy. It's cute too.
  17. Okay most of that doesn't make sense. But you NEED to use $_GET[] and sanitize your user input or you're opening yourself up to security issues.
  18. send ALL of the arguments that setcookie takes
  19. Strings have to be surrounded in quotes. Change it to: WHERE CAMERAMODEL='$CAMERAMODEL'";
  20. No, you do an UPDATE, not an INSERT.
  21. I don't understand...can you post a link to the page in action and explain more?
  22. I don't see a problem with the string, but try this instead: <textarea name=html>[url=http://my-site.com/<?php echo $image; ?>][img=http://my-site.com/t_<?php echo $image; ?>][/url]</textarea>
×
×
  • 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.