Thread: php - mysql

Results 1 to 6 of 6
  1. #1 php - mysql 
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    Hello, I need abit help with php loading from mysql text for items

    if mysql text file got this(name - amount - price):
    Code:
    [COOKING]
    shrimp - 2 - 62
    shark - 162 - 1622
    
    [FISHING]
    rod - 1 - 97
    bait - 61 - 8
    net - 2 - 231
    
    [ARMOR]
    leather body - 3 - 6217
    iron platelegs - 8 - 12710

    for example person want to sell two leather bodys,

    how I make it to change amount to 1 and how I find all fishing items + amount + price.

    why I want to know for so random items? Because its easier to learn about what is what and what doing what

    so please helm



    click banner to join gtracer!
    Reply With Quote  
     

  2. #2  
    Registered Member EthanPlusOne's Avatar
    Join Date
    Dec 2011
    Posts
    56
    Thanks given
    0
    Thanks received
    2
    Rep Power
    14
    Uhh...

    What does this question have to do with PHP or MySQL, other than the file name?
    I may just be reading it wrong.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Freezia's Avatar
    Join Date
    Feb 2011
    Posts
    6,013
    Thanks given
    1,147
    Thanks received
    758
    Rep Power
    1311
    Mysql text file?! you mean mysql database? and what you trying to do online grand exchange?


    Host your RUNESCAPE PRIVATE SERVER on the cheapest and flagship provider on Rune-Server! Now equipped with DDOS Protection!.


    Reply With Quote  
     

  4. #4  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    Quote Originally Posted by freezia View Post
    Mysql text file?! you mean mysql database? and what you trying to do online grand exchange?
    yes, like in mysql database there is called "text" collum or what so its like *.txt file I think so, anyway.

    and Yes, Im basicly want to make grand exchange.

    EDIT: I have to make grand exchange later, but atm for what I wanted to use that is saving character items



    click banner to join gtracer!
    Reply With Quote  
     

  5. #5  
    Registered Member
    minutes's Avatar
    Join Date
    Apr 2008
    Posts
    1,926
    Thanks given
    2
    Thanks received
    19
    Rep Power
    465
    YAY!got it done, by myself!



    click banner to join gtracer!
    Reply With Quote  
     

  6. #6  
    Registered Member EthanPlusOne's Avatar
    Join Date
    Dec 2011
    Posts
    56
    Thanks given
    0
    Thanks received
    2
    Rep Power
    14
    Do you know English?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. PHP MySQL help?
    By Plasma in forum Application Development
    Replies: 1
    Last Post: 10-14-2011, 08:08 AM
  2. php-mysql error..
    By minutes in forum Application Development
    Replies: 8
    Last Post: 02-22-2011, 09:31 PM
  3. php mysql connect.
    By marciano in forum Application Development
    Replies: 6
    Last Post: 02-14-2011, 11:19 AM
  4. [PHP] MySql Class
    By Defqon in forum Application Development
    Replies: 0
    Last Post: 03-08-2010, 08:25 AM
  5. Help (PHP, MYSQL)
    By Adimral Slee in forum Help
    Replies: 2
    Last Post: 06-22-2009, 08:29 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •