1) You need the MySQL software on the server (much like how PHP needs to be installed) which you get from http://www.mysql.com
2) It's free...
All of our products are available under open source licenses, but we also sell commercial licenses for all of the products so they can be adopted in situations where an open source solution is not appropriate.
3) You can put links to or full documents in the database, but beware, larger files will
slow down the performance of your database. It's recommended to leave them as links.
4) Not really that I know of... but all you really need is the code I already posted and change "mysql_query('SELECT * FROM mytable',$db);" to whatever data you need. http://www.mysql.com
gives you documentation on queries, but its still pretty basic: SELECT => choses what to get, FROM => choses which table in the database, WHERE => (ex: WHERE username='joe') only retrieves rows of data where the column "username" contains "joe"...
If you need help with queries or want to make some better and more efficient code for accessing your db, just ask here or email me (firstname.lastname@example.org
) and I'll help you. By the way, do you host your own server yourself? or are you with a hosting company (and which one)?