Jump to content

Pi_Mastuh

Members
  • Posts

    233
  • Joined

  • Last visited

    Never

Everything posted by Pi_Mastuh

  1. I'm making a page where when you click on a picture a page pops up with the info about the item. i'm using $itemName and echo '<img src=../images/items/'.$image.'.jpg>'; When the page comes up for an item with spaces in the name it just shows up as the first word and none of the data is displayed because it's an invalid item name. What's wrong? ???
  2. Also, how do I make a list box that drops down with all the items in a database row belonging to that user, and then it increases the number in a field for the item they selected. I know that to increase it would be $hunger++ but how do I do the list box thing?
  3. There isn't just some script I can put in that tells it do it every 24 hours?
  4. I need a script that tells it if the number is greater then 1 then to decrease by 1 every 24 hours. How would I code that? I'm guessing something like <? if $hunger <1 then -1 ?> but i have no idea if thats right. And it also doesn't tell it do it every 24 hours... ???
  5. I need to make it so that when they hit the submit button the user's name is stored in the database. How do I do that?
  6. I want to add a user to user private messaging system with an inbox and ability to send messages to another user's inbox. How would I do that and what would the code be?  ???
×
×
  • 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.