The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Kirk Y Help with mysql select and... 05-13-2006, 01:48 AM
Chroder So the table has columns for... 05-13-2006, 05:33 PM
Kirk Y I tried using the code you... 05-13-2006, 06:16 PM
Chroder Which hook are you using? 05-13-2006, 06:26 PM
Kirk Y global_complete 05-13-2006, 08:44 PM
Chroder global_complete is too late,... 05-13-2006, 08:54 PM
Kirk Y Ah ha! That did it, that'd... 05-13-2006, 09:11 PM
Kirk Y Bump: Connecting to another... 05-15-2006, 07:06 PM
hambil switch... 05-16-2006, 11:58 AM
Kirk Y What should I change my... 05-16-2006, 07:32 PM
|
#1
|
||||
|
||||
Help with mysql select and array
Okay, so what I'm trying to do here is have a table underneath the member.php (memberinfo template) page with game statistics that are stored in a db. I've got a profile field set up where the users put in their username for the game -- that's how their stats are pulled from the table. So, table configuration: I've got around 9 or 10 fields, with things like kills, deaths, headshots, etc. What I'm trying to do is run a select query like: "SELECT * FROM table_name WHERE name = '$post[field5]'" And from this, I want to generate an array so I can use $stat[kills] or w/e in a template to post the row data from the kills field. Does that make sense? Anyway -- thanks in advance for any help. It's much appreciated.
I've tried a bunch of codes that people have posted with similar problems -- but none of them yield any results. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|