Jump to content

nathank

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

nathank's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The documentation is probably the best step by step example you will find for setting this up in CI. http://ellislab.com/codeigniter/user-guide/helpers/captcha_helper.html It's fairly straight forward, just make sure you have permissions set correctly on the dir where it will be storing the image file.
  2. I have been reading up on joins, but I still am a bit unclear how I would write my query to do the following. I have a table named teams | ID | Teamname | | 1 | The Good Team | | 2 | The Bad Team | And a table named matchups | ID | Team1 | Team2 | | 1 | 1 | 2 | I want to query the matchups table and pull the teamnames from the teams table. "SELECT matchups.team1, teams.teamname as team1, matchups.team2, teams.teamname as team2 FROM matchups join teams on matchups.team1 = teams.id " The join has one team id = to the id in the team table, but what about the other team? ");
×
×
  • 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.