Jump to content

Thauwa

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by Thauwa

  1. i think that is what i wanted, but i thought that it was too complex for me. can anyone show me some tutorials? flash to php, php to mysql, mysql to flash. a simple textbox is fine
  2. I've found thsi real hard. I simple need to display some text in a text box (not datagrid) with php. Any help is appreciated (Actionscript, flash,php help needed). Thanks
  3. but is my code correct ? ??? I am still a simple programmer!
  4. so... I do something like $data = mysql_query("SELECT * FROM items") or die(mysql_error()); while($info = mysql_fetch_array( $data )) //array { $item= $info['item'] echo 'Item: <a href=http://www.ilovedoingstuff.com/items.php?item=$item>' .$info['item'] . ' </a>'; }
  5. oh...that means I have to make all pages manually....unlike the thing I've seen on smf... ?action=erere anyway....what you meant was right
  6. I know how to display records from mysql as a whole (say items in a shop). So there is no logging in or out.. only links. So how can I view each item with its details individually? tks in advance
  7. can you give more details of your problem? i am a bit low in understanding
  8. can you post a bit of regform.php? especially from the top?
  9. check whether this helps. http://php.about.com/od/phpwithmysql/ss/Upload_file_sql.htm
  10. Can I use HTML to include() (like in php) a page (.html) so that my file sizes are smaller?
  11. that means i could use the header() function after 'do'?
  12. you all didn't get me. i was asking how to add a new record to a record while keeping the old too. something like extending the record to be two records. ex: record : bollby bloo user clicks a button on the 'blaaby blaa' page and the php page makes the record: blooby bloo, blaaby blaa did you get what i want?
  13. and , just make up a home page, like phpfreaks.com, it dosen't suite me to have a tutorial at the start.
  14. does that mean that each record takes up a column?
  15. sorry for being soo dumb, but can I make an error page for the return flase ? how can I?
  16. heres the story: *there is an empty field *a user clicks a button in a page and one record fills up that field *the user goes to another page and clicks another button, then another record is inserted to the field *this goes on and sometimes, a record empties the field on users choice. is this possible? can anyone help me with the mysql query?
  17. then I could use the same basis to substract gold coins? I read in another forum topic (posted by Kryllster) a code like this.. <?php function takeDiamond() { $diamond = (Run a query to get amount of diamonds in inventory); if ($diamond > 0) { $diamond--; (Run new query to update the database with new diamond amount); return true; } else { return false; } ?> or can I simply change the signs in absorbater's code? + to -. like tableName SET Coins=Coins-1 my next problem is the 'on click' part, as in the forum topic. can anyone help me with that?
  18. thanks, ill try that. for my knowledge, can you explain to me this part? WHERE username=$UserName"); is 'username' (in the code) a field name or what?
  19. how about adding some swirls (like in the top) to the bottom? It would look a bit more attractive. and dont keep the body background soooooo monotonous, try something new!
  20. style OK for me. Just try making the top menu a bit more attractive..
  21. any further code would be appreciated. how do I make the code edit the mysql data base that way?
  22. I simply want to know how to add a numeric value to a field
  23. I am making an online game. In it you earn gold coins. What is the code to add one gold coin on clicking a button? Any help will be appreciated.
  24. maybe you can try to use echo with an image url instead of text. 'variable' the image and echo the variable. try it.
×
×
  • 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.