Re:no database selected in query
well i moved the EOF and ?> back to where it should be, and then i edited the /tiki-1.7/db/local.php to the correct mysql stuff and now I have some progress, the new error is:
Unable to login to the MySQL database 'tiki' on 'localhost' as user 'wiki' go here to begin the installation process, if you havent done so already
DB Error: connect failed