Jump to content

Lukela

Members
  • Posts

    55
  • Joined

  • Last visited

    Never

Everything posted by Lukela

  1. Hey Everyone, I'm in a Crisis >.< I need exactly 60 more surveys done so if ANYONE can do a survey that be awesome! This is due tommorow~! www.6figuresurvey.tk or www.6figurepurls.wsnw.net/survey.php THANK YOU SO MUCH!
  2. Haha, see... someone already tried to screw me over and input a SQL injection. We'll to let you know... this is a free server, and nothing valuable is on here. Have a Good Day and REMEMBER TO DO A SURVEY!
  3. Hey everyone! I need your help with something which I believe that PHPfreaks Forums is the perfect place to get it from. Anyways my class (Business Academy) are doing this Marketing Plan, so for one of our assignments we need a survey based on the business you are marketing, asking questions related to the customers you are targeting. So if ANYONE who can help me out and fill out a 8 question survey, go to this link. http://6figurepurls.wsnw.net/Purl/survey.php
  4. Wow, I learned something new today in PHP. exit(); Haha...
  5. lolx just try using an if statement above it and put it into a variable...
  6. Heh, Im wayyyy better in PHP than Mattthhh!!!!! Just joking, I am better in math than PHP though. PHP is just a for fun thing for me to do, just to not worry about things in the real world and just drift away on this raft until I get flipped over and end up on my desk of homework.
  7. What the guy said above <?php || = OR && = AND if( $var1 == soandso || $var2 == soandso) { echo "so and so"; } else { echo "so and so"; } ?>
  8. This is what I am trying to do: Im building this Stock Market feature for this game I am creating, although I am stuck on this ONE feature which can help me complete this game. I need to know how to draw a Line Graph with PHP!!!! This Linegraph will consist of Days on the X-axis and the new value of the stock on the Y-Axis. Im using a cron to update the information each day. Anyone know how to draw a Linegraph? Or knows any good sources?
  9. AJAX is the answer, but I dont think he knows AJAX... do you? because a person who has knowledge in AJAX would know that PHP can refresh a certain part of the code.
  10. Anyone know how to have a website hidden by a proxy using PHP?
  11. Am I able to leave the webpage while the time is calculating?
  12. Here's my situation, Im building a Browser-based game. In this games you have these troops that you are able to attack people's villages and such, when you attack someone you need to take the time difference between them two and that will be how long it takes to reach the target. I can use PHP to calculate the time, but I need a JS script that once the time hits 00:00:00 it would run the attack script to calculate the battle. Anyone here can help?
  13. How am I suppose to run the script when the timer reaches to 0? PHP cant do that, I also want people be able to browse the website. So the SESSION cant reload on its on, so thats why I need JS. Although I dont know any JS, -picks up book- anyone wanna save me the time? Im going to start learning JS though but I need the code asap Regards ACE Set a session variable for the expiration time, and one to say you're attacking. On page load of the attack script, check the session variable to see if its <= the current time AND that the one that says you're attacking is set. If both of those things are true, UNSET those variables and proceed with your attack script. Simple. As for displaying how long, basically: $time_to_go = $_SESSION['expire_time'] - time();
  14. Yeah If there was a way in PHP I think I woulda found out already I guess it is in JS my answer, it has to be very accurate. >.< -goes to google books to search for a Javascript for dummies book- Guess I got alot of learning to do! lolx
  15. Is someone able to browse other pages while this is happening? Cause the attack can take hours, days, or minutes
  16. I have this Browser-based game I am building with PHP and very basic Javascripts(cause I do not know). So when someone attacks, there is a time difference on how long it takes till there troops reach there target. That will be the timer, so when the timer hits 0 it will comense the attack script.
  17. The thing is that, what if they leave the page? Wont it restart if they go back? Plus what I am trying to do is to input the time into the database and make it so they can go browse the site and the timer goes down still.
  18. Anyone know of any Javascript that can do this? I will implement them together.
  19. I want to create a script which will start a countdown, and when it hits 0:00:00 it will run a script. Anyone know how?
  20. Well this is just a statement, I am 16 years old and attending Junior in High School. I've been doing PHP for about a year, and its sooo help for me that I created a script to do my math homework for me and I am no longer failing in the homework section of math anymore. I just wanted to say this because.... its just funny for me lolx. I think I can consider myself advance in PHP already for I created functions so dynamic and such... its just scary for me being young and doing it =) I say I spend about 2-4 hours a day working on PHP and a few sites, building a Browser-Based game with PHP and I am about to launch it within a month. Its my first and its pretty cool although, well for me lolx. Also I made about $1000 with PHP for creating this SEO Optimizer and sold the tool to this guy for $500 and the same guy bought it 2 months later for the same price. So now he said if I wanna work for him, create more SEO Optimizers and he'll pay me for each one. I build Redirectional URL's(PURLS) NO MORE MATH HOMEWORK, WOOOHOOOO
  21. $sql="SELECT `column` FROM `table` WHERE `column`='value'" or die(mysql_error()); $query=mysql_query($sql); $results=mysql_fetch_assoc($query); Just use this.
  22. Truthfully, I think you should redesign the database so later on in the future you dont have to worry about it. Have a table for items, users, and shopping_cart. Than give them id's so items_id, users_id. In the shopping_cart table you will have AT least these columns which will be users_id and items_id. These will be the items they have in the cart. Simple as that.
  23. In College? Im 16, Junior in High School and forsurely they dont teach it there. I self-taught myself about a year ago and now I am trying to learn JS and XML so I can learn how to use the Ajax Technique.
  24. Im creating this Tool to generate from 1 to 50 emails random email addresses. Many Marketers create new emails for new Craigslist account each day because there ads will stick better. So I am going to create this email generator which you can check and grab the verification code to activate your new craigslist account. Each email has 45 days from the time its created before its deleted.
  25. Are you serious? omg I cry even more :'( Anyone has any clue where I can begin my search?
×
×
  • 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.