Jump to content

Exabyte

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Exabyte's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. you should read that article again and try to understand it. it's actually pretty well written. a_id obviously needs to be your primary key. SELECT DISTINCT instance1.a_id FROM RaceTable AS instance1,RaceTable AS instance2 WHERE instance1.a_id=instance2.a_id AND instance1.RaceNumber=[something] AND instance2.Driver=[something]
  2. right, have a php file send the invoice file to the user
  3. it won't work that way. mysql would basically be looking for a row where RaceNumber matches multiple values at the same time. what you need to do is join the table to itself: check this out: http://www.thelampblog.com/2010/05/24/mysql-self-join-a-table/
  4. $a = explode('/',$url); echo $a[0];
  5. protect the upload folder with a htaccess file and only serve the files through a php script.
×
×
  • 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.