why HTML fields? because this database is interacted with via a webpage that is open to any person playing this game, who wishes to store player and locations data. They do not have access to upload .txt files to the server. they would need to make their own .txt file, and copy/paste it to a field.
one question about the LOAD DATA INFILE. I have read up on this commandm, but am not sure were i store the data. were do i put the...
User Profile
Collapse
-
mass INSERT using HTML field, delimiters
What commands do i need to start looking into, to complete a mass insert of info into a database. im looking to insert something like this:
player_name | player_id | location
I want to have a large HTML text field were i can enter multiple lines like this and then have them inserted into the proper tables/fields. Im just looking for a basic theory and commands here so i can start to research and try some simple... -
well, unfortunatly, selecting a distinct location wont work here. We want to select a distinct PLAYER record, which will have SEVERAL distinct locations associated with it. how do i query the locations table, find each location associated with that player, and put those rows into an array which i can then display using HTML.Leave a comment:
-
MYSQL table rows and PHP array
what kind of PHP operation am i looking for when i am trying to do something like this:
I have a player table, and a location table. Each player is unique, each location is unique, therefore having an auto_increment( id and lid) field in each table to give each player and location a unique identifier. Each location can be associated with a player. I am inserting the auto_increment field from the players table(id), into the player... -
not that long... i inserted into PHP tags, 180 lines of code. is that too much?!Leave a comment:
-
i cannot post a question to your PHP forums!
testing!i just typed out a huge message and tried to send it, getting "page not found" error.
EDIT:
this one worked fine? is my mssg too long? -
MySQL noob question: player table, location table, JOIN
I have a player table, which is made up of fields:
id SERIAL NOTNULL AUTO_INCREMENT (this is the primary key, auto increment so each player is assigned a unique key)
player VARCHAR (just a text player name)
player_id VARCHAR(text matching the players in-game number)
then i have a locations table, with fields:
lid SERIAL NOTNULL AUTO_INC (primary key, each...
No activity results to display
Show More
Leave a comment: