Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. Because "3" is not a statement. if($gen=='2' || $gen=='3'){ } Why are you using strings here?
  2. You'll need to use date() and strtotime()
  3. Yeah it's a kitten, but he's all grown up now. http://jesirose.com/about/my-pets/
  4. Try using <?php instead of <?. It looks like you don't have short tags enabled.
  5. You're putting them all at 0, 0 on the destination. http://php.net/imagecopy
  6. Yes. There is plenty of info on it in google.
  7. There are lots of ways. Did you check the manual? http://www.php.net/manual/en/ref.filesystem.php If you go to php.net and search for something it will tell you what functions there are. Try looking up rename, since that's what you want to do.
  8. It's javascript, not HTML.
  9. What do you mean expire? Are you talking about the caching of pages?
  10. Why aren't the x and y values positive? is $d_img the large image? You need to put each of the little ones onto the same large destination image.
  11. Don't put single quotes around strings which have a variable. $request = ucwords(strip_tags(str_replace($_POST['textfield3'],$Bad,'panda')));
  12. It's probably putting them on top of each other, instead of spacing them out. You need to tell it where to place each small image on the large one.
  13. Yeah if you want those to have default values that are variables, you have to do it in the constructor.
  14. Most of what you wrote does not make sense. "As the error still posts when open up that class file" "Even further, the error goes away then I delete:" "Not either or, both of the deleted will make error go away." Can you please rewrite these? I'm sorry if English isn't your first language but it doesn't make sense. Are you saying both of those lines give you the error? Post the whole error and the line that the line number refers to please.
  15. Do you mean IE6, as opposed to IE7? I only have IE7 right now so I can't help you with that.
  16. I'll try to help you, but what do you mean some items are messed up. Give a better description. What items? It looks pretty darn close in IE and Firefox to me, but I don't know what I'm looking for.
  17. See: http://grady.us/temp/colors.php <?php $colors = array('Blue', 'Red', 'White', 'Yellow', 'Black'); $move = 'Yellow'; $before = 'Red'; //Remove the color you want to move. unset($colors[array_search($move, $colors)]); //Slice out an array from the spot you want to put the color until the end. $endHalf = array_slice($colors, array_search($before, $colors)); //Take out the first half $firstHalf = array_slice($colors, 0, (count($colors)-count($endHalf))); //Assemble the new array $colors = array_merge($firstHalf, array($move), $endHalf); ?>
  18. Do you need them to keep the original keys?
  19. You'll likely have to write it yourself if you haven't found anything searching google. There are plenty of code repository sites out there, but I have no idea if what you want is on one. If you don't want to write it, hire someone.
  20. This is NOT OOP!! Just make PHP print out the html code you posted.
×
×
  • 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.