Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Use CODE tags (hit the # button on the editor) On line 58 you never closed your string. [quote]print '<p>Please try again!</p>; //Needs to be: print '<p>Please try again!</p>';[/quote] You might consider using an editor which does syntax highlighting, as that would have made that obvious, since the rest of your code would be colored funky.
  2. Choffo: if you decide to do what I suggested and need help with your HTML and CSS, there's a forum for that too, so feel free to check there for help with it.
  3. Woops! I completely didn't see this forum - thanks neylitalo!
  4. Nor is the concatenation of strings. $update = "UPDATE videos SET clicks = clicks + 1 WHERE vidid = '$id'"; Sometimes people like to format things the way they like best :-P
  5. He means instead of clicking a button to submit a form, you click on a link, like text surrounded by a href= etc. The easiest way to achieve the same effect without javascript might be to use an image as the submit button, or to format the button using CSS to appear just like your links do. Best of luck. Matto: that's javascript! Pah.
  6. I use Textpad as my editor. Does anyone know how to get rid of the print button right under close when you right click on a file? I keep accidentally printing files and it's making me nuts. Help!
  7. I second the session. POST can be manipulated just as easily as GET. Use the SESSION.
  8. Dunno. Why are you trying to do this, out of curiosity?
  9. Things like that are easy to try out. It should work, if you'd tried it you'd have seen ;)
  10. You might have to run it a few times on a few shades, as the compression of the image probably caused it to be not solid white, but shades of white/off white. Good luck
  11. How could you use a variable and not know it's name? Can you give a better example?
  12. http://www.phpfreaks.com/forums/index.php/topic,37442.0.html HEADER ERRORS - READ HERE BEFORE POSTING THEM
  13. $start = time(); //Do your stuff here $end = time(); $total = $end-$start; // number of seconds.
  14. Cep : No need to reinvent the wheel, it's best done with javascript!
  15. You can use ini_set to temporarily raise the memory limit - I've found whenever I have these problems, there's something more behind it - I was getting one yesterday and after a half hour of messing with it I found my infinite loop. You might wanna double check for that sort of thing.
  16. You could use wordpress as a CMS, they have a nice WYSIWYG. Or you could google it and look for some resources :)
  17. That is HTML and CSS, not PHP. Google CSS form, input, etc.
  18. If you could post a problem and your code? It sounds like you want javascript - check in that forum.
  19. Sorry, can't help ya. I normally store images in the filesystem instead of in db, so this is outta my realm. Good luck.
  20. Okay I don't know that much about pdf, but before you had x 150, y 50. Why did you use 100, 100 for the right align one. Shouldn't the $right be > 150? Like, 400 maybe? Sorry, that function looks okay to me. Good luck.
  21. Wait you never actually put anything in the session. before this: [code]foreach($_SESSION['count'] as $var) {     echo "this is a new count:". $var; }[/code] you need to do something like $_SESSION['count'] = $count. That's why $_SESSION['count'] is empty.
×
×
  • 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.