Jump to content

blinks

Members
  • Posts

    53
  • Joined

  • Last visited

    Never

Everything posted by blinks

  1. There is a problem with the following line of my code - if (array_key_exists('evolveDark Charmeleon', $_POST)) All works well if I remove the space in "Dark Charmeleon", but with the space there, the "if" statement doesn't get processed. Any suggestions? I know the solution is something to do with escaping the string, but wrapping as per mysql_escape_string('evolveDark Charmeleon') doesn't work. TIA
  2. Thanks CV, amazingly quick response. Will give Javascript a go. Because of the browser issues with JS, I thought PHP would be easier. Looks like not, after all.
  3. As a raw beginner to PHP, I'd appreciate it if someone could start me off with some code that will move an image x number of pixels when an arrow key is pressed. That is, move the image 10 pixels up when the up arrow is pressed, 10 pixels left when the left arrow is pressed, etc. Thanks!
×
×
  • 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.