Search results

  1. S

    Multiple choice answers sort of....

    That doesn't help at all, all those are are function tuts. What I am doing is much more advanced =/ :thumbsdow Edit: I get what you mean. thanks I'll try that out
  2. S

    Multiple choice answers sort of....

    I get what you mean, but how to I set which answers are correct, and how do I update the pet's training varible by a precent?
  3. S

    Multiple choice answers sort of....

    I'm trying to make a training system for a pet game I'm making. What will happen is the player is asked a question and is given 4 anwers to choose from, if they get it right their pet knows 5% more of what they are training it. (there will be a meter to show what % it has learned) and if they...
  4. S

    Earn Easy Credits!

    guess nobody is interested...
  5. S

    Show system/ picking a winner?

    ok I see now. thanks so much!! Edit: How would I add that to the database? a new table "Level" and then.... Like level 1 as a column or how would I do the required points for each level? Sorry about all the questions :happysad:
  6. S

    Show system/ picking a winner?

    Ok for the total stats I randomized each individual stat and then had php add it for a total. the total isn't stored in the database. Should it be? how do I do that? Edit: I also want the animals to earn points from a place in a show and those points add up to a different level. Each animal...
  7. S

    Show system/ picking a winner?

    sure. lemmie go fetch the code. Edit: <form name="form 1" method="post" action="show.php"> <select name='petname'> <option value=''></option> <?php $query = "SELECT petname FROM pets WHERE ownerid ='".$_SESSION['id']."'"; $result = mysql_query($query) or die ("You don't have any animals to...
  8. S

    Show system/ picking a winner?

    a form where the user can pick which of their animals to enter into the show, then they are put in a "temporary" table in the database. I mean temporary because after the show is run the table will be emptied. But with the info in the database I'm not quite sure how to go on from there...
  9. S

    Show system/ picking a winner?

    I'm making a dog game where when animals are created they are given a set of randomized stats, these are added together for a total. I want to make a showing system that will give the animal with the highest total 1st place and next highest 2nd and so on and so forth. It seems pretty simple but...
  10. S

    Addition in PHP?

    Thanks everyone =)
  11. S

    Addition in PHP?

    they are given the randomized stat when they are created, after that they can't be changed.
  12. S

    Addition in PHP?

    I'm making a game and the animals have randomized stats, 4 of them. I want those to be added together for a "total" and then have the total displayed but how do I do that?
  13. S

    Need just a tiny bit of help =]

    Oh ok, I see now. Thanks so much! =D
  14. S

    Need just a tiny bit of help =]

    I want it to be completely random, no matter what was before it, but then how do I get the randomized stat inserted into the table in the right spot?
  15. S

    Need just a tiny bit of help =]

    So this is pretty simple. I want to randomize input. I'm making a pet game, and in this game animals have "stats" and when you buy an animal I want those stats to be randomized so you don't know what you are going to get. These would be from 1-10 If that didn't make sense I'll try to explain...
  16. S

    I need help with some php coding.

    I need help making a shop page for my SIM game. I can give you a screenie of what's in the database, that's all set but I know how to fetch and display things, but what hard for me is subtracting the money, and updating the inventory when they buy something. Anyone have experience with this? I...
  17. S

    phpmailer?

    I'm using this free script that uses phpmailer and I'm unsure what to do with these.... define ( "USE_SMTP", "TRUE" ); // - do you want to use SMTP to send out emails? TRUE or FALSE ( mail() will be used ) define ( "SMTP_PORT", "" ); // - what port should we use for smtp ( only needed if...
  18. S

    Php form

    Hi I need to create a form driven by php that asks a questionaire and then submit the form results to a place only admin can see them(a password protected part of the site) But I'm not quite sure how to do that. I can make html forms and submit buttons, but how can I direct the results to a...
  19. S

    How would one go about coding this...

    Does anyone know how I can make a register script that send the user an activation code to the email vefore they can log into an account?
  20. S

    Myphpadmin error?

    I keep getting this error phpMyAdmin - Error #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
Top