A small web application to help you manage your life.
Webserver : Apache (xampp) backend : PHP 5.5 database : phpMyAdmin ( MySQL ) frontend : jQuery , bootstrap
-
start xampp Control (D:\xampp) and start Apache and MySQL.
-
type http://localhost/phpmyadmin/ and create a new database with the name "todos".
-
create a new table todo with the columns : id : int(11) , Extra: AUTO_INCREMENT. title : varchar(255) description : varchar(255) priority : varchar(255) due_date : datetime , Default : CURRENT_TIMESTAMP
-
open your httpd-vhosts.conf file (D:\xampp\apache\conf\extra) and copy/paste this virtual host :
<VirtualHost *:80> DocumentRoot "D:/xampp/htdocs/todoListMvc/public" ServerName todolist
to map http://todolist/ as virtual host.
- open the hosts file in C:\Windows\System32\drivers\etc notepad ( as admin ) with notepad and add this line :
127.0.0.1 todolist
- restart Apache and MySQL in xampp Control.
- Fatal error: Call to undefined function mysql_connect() in C:\xampp\htdocs\todoListMVC\app\database.php on line 12
add "extension=php_mysql.dll" to your php.ini file
=> pdo is taking over mysql so we have to specify in the php.ini that we are using mysql.