Jump to content

errietta

Members
  • Posts

    30
  • Joined

  • Last visited

Posts posted by errietta

  1. Is there a way to pick a random part of an array? Basically I want to mqake a script that randomly changes the border-color of a div. I put the colors in an Array but I don't know how to get a random color from the array..

  2. What's different about when it shows a 500 vs. not? What are the URLs when you see an error vs. when it works?
    Any .php page really and error 500 kind of kicks people out of battles so..
  3. My site sometimes brings error 500 in random pages. I was wondering if it's something with my .htaccessthis is my .htaccess:

    RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://(www\.)?pokemonlake.com/.*$ [NC]RewriteRule .*\.(jpg|jpeg|gif|png|bmp|js)$ /forbidden.htm [R,NC]ErrorDocument 403 /error.phpErrorDocument 404 /error.php

    Please help---edit; i actually meant to put this in the php forum stupid me i dont have any asp pages anyway<insert lots of spam here />whatever.

  4. The source of 'my' bug seems to be that wipes.js always thinks I'm trying to steal it. Because of that, the positionBotmRt function doesn't get defined. I would try to help it here, but it's not exactly on-topic. So post it in JavaScript or whatever else might be causing it (PHP?) if you want help.Lol. I might if given sufficient facilities (in this Podunk?), but facilities that could compensate for my practical stupidity would be phenomenal.
    Um, it works fine for me. I know what causes it. it's my .htaccess but it should work if its in a page of pokemonlake.combtw i didn't make wipes.js so...
  5. Umm... Nothing appears on the page except the pink background in Firefox 3.
    Error: missing; before statementSource File: http://www.pokemonlake.com/wipes.jsLine: 1Source Code:You do not have access to this page<br />Error: positionBotmRt is not definedSource File: http://www.pokemonlake.com/Line: 118

    It should work fine in Firefox 3. If the index does not work, go to http://www.pokemonlake.com/index2.htmloh and you DID wait a bit at first did you? if you have a slow connection, it will take a few seconds to appear. it's a cool script i got from another site that makes the text look good. I almost always use firefox and i dont have any problems.
  6. the pink is kinda too muchother then that..well it looks good. sorryi dont have time to play this i have to play my yellow version and beat my rival now that ive beaten the elite four!!!!!!!!!!! lol
    lol, yellow??? That's older than my grandmum lol
  7. Since I love web design and am very good at it (for my age, 13) I thought I would show you this: My website
    Im 14 ok? So dont think your smarter than--err... nice work :)*wishes she had learnt those things when she was younger :'(*Well I was 13 when I started ok?
  8. Hello this is my code

    $sql9="SELECT * FROM `tinyclub_users` WHERE `user_name`='$n'";$result9=mysql_query($sql9);$row9=mysql_fetch_array($result9);$pos9=$row9['user_position'];if ($pos9==1){echo "You have beaten a tournament!";exit;}

    I have tried to echo $pos9; but it doesn't work at all! It's nullI echoed $sql9; and the output works in phpmyadmini have also tried

    $sql9="SELECT * FROM `tinyclub_users` WHERE `user_name`='$n'";$result9=mysql_query($sql9);while ($row9=mysql_fetch_array($result9)){$pos9=$row9['user_position'];}if ($pos9==1){echo "You have beaten a tournament!";exit;}

    It just wont workPlease help me

  9. hehe.. ofcourse it can help in making a game... ofcourse it can.... i know it can.. i have a game plan too.... hehehehehehe... Yes it can help make a game! Hehe... :)

×
×
  • Create New...