• Member Avatar for minitauros
    minitauros

    Replied To a Post in retreive and updating mysql database

    I would like to suggest a (in my opinion) cleaner solution :). This solution is as follows: 1. Create a database file, in which you create your database connection, etc. …
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in input date

    What do you have so far? :) Usually it goes something like: SELECT * FROM table_name WHERE created = "2013-12-11"
  • Member Avatar for minitauros
    minitauros

    Replied To a Post in No database selected

    You must select a database using the [mysql_select_db()](http://www.php.net/mysql_select_db) function. So, replace this line `$con = mysql_connect($host, $username, $password, $db_name);` by the following $con = mysql_connect($host, $username, $password); mysql_select_db($db_name, $con); Note, …

The End.