It creates a folder under
C:\Users\Athlon2011\Documents\My QwikSites\Sites\SUTIL\Deploy\PHP (1)
(since I selected MySQL and PHP for the deploy options). The actual DBQwikSite projects are located inC:\Users\Athlon2011\Documents\My QwikSites\Projects.
Now, since I use XAMPP, the webpages need to be in the htdocs folder
C:\xampp\htdocs\SUTIL (2)
The project I was working on involved SUTIL. So, I copied all the files from folder (1) to folder (2).The next problem was to actually get the database going. DBQwikSite creates MySQL scripts which convert the MDB file it has into a MySQL database. I had no idea how to get those scripts to run. After some mucking around, I found out you can create a database from within PHPMyAdmin
http://localhost/phpmyadmin/
Create a new database (I named it sutil) and table (StudentChoices) with the same specs as you did in DBQwikSite:
Doing this created a new folder in the XAMPP folder (note that the mysql databases are under the data folder!)
C:\xampp\mysql\data\sutil
After all this, I managed to get the DBQuikSite php files to work
http://localhost/SUTIL/student_choices_add.php
Now, to test it live on the web, I needed a hosting service. This webpage has a list of free websites with PHP/MySQL and I'm trying HelioHost.
I had the customary problem with not being able to access MySQL after I added a password to user localhose/root. I had to edit C:\xampp\phpMyAdmin\config.inc.php and modify the lines
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
Useful Links
http://www.html-form-guide.com/
http://www.javascript-coder.com/
CSV Import Script
http://www.sitepoint.com/
http://phpmaster.com/
http://dev.mysql.com/downloads/workbench/
$cfg['Servers'][$i]['password'] = '';
Useful Links
http://www.html-form-guide.com/
http://www.javascript-coder.com/
CSV Import Script
http://www.sitepoint.com/
http://phpmaster.com/
Working with MySQL databases (list of free tools)
http://sixrevisions.com/tools/applications_mysql_databases/http://dev.mysql.com/downloads/workbench/
No comments:
Post a Comment