Search found 5 matches
- 08 Jun 2010, 21:00
- Forum: BBCode Support
- Topic: Making a call to a database
- Replies: 10
- Views: 5778
Re: Making a call to a database
and you put in the correct html the post will show.... This is exactly what I need help accomplishing! Ok, let me start over... I have a card database consisting of over 300 cards. Each card has a unique image. For example, "Infiltrate" is ST4.jpg, "Forge" is ST20.jpg, etc. But the user does not ...
- 08 Jun 2010, 20:19
- Forum: BBCode Support
- Topic: Making a call to a database
- Replies: 10
- Views: 5778
Re: Making a call to a database
Yes, but the user will not know "ST4", he will only know that the name of the card is "Infiltrate". I need some way of looking it up without the user knowing the set and number.
Am I making sense?
Am I making sense?
- 07 Jun 2010, 20:40
- Forum: BBCode Support
- Topic: Making a call to a database
- Replies: 10
- Views: 5778
Re: Making a call to a database
Maybe I'm just not explaining correctly... The problem is my card images are not stored including the name. They are stored something like "./images/cards/ST4.jpg", where "ST" is the abbreviation for the set name, and 4 is the card number. So here's what I'd like to have happen. The poster types ...
- 07 Jun 2010, 19:38
- Forum: BBCode Support
- Topic: Making a call to a database
- Replies: 10
- Views: 5778
Re: Making a call to a database
Hey Stoker, Thanks for the response, but that's not exactly what I'm looking for. That would work great assuming the poster knows the url of the image. But since they more than likely won't know the url, I would like to look it up in the database. So I guess my real question is: Is there a way to do ...
- 06 Jun 2010, 15:29
- Forum: BBCode Support
- Topic: Making a call to a database
- Replies: 10
- Views: 5778
Making a call to a database
I'm hoping someone here will be able to help me. I have a fan site for a trading card game. I created a database with all the cards and images in it. Now I want to write a custom BBCode that searches my database for the card image given the name. Something like this: [card="Card Name"]Card Name ...