Search the Community
Showing results for tags 'mysl'.
Found 2 results
Balderick posted a topic in PHPHi can someone explain how to create a mysql database in php using OOP prepared statements. I know how to do it with mysqli but I want to know if it can be done with placeholders and oop. a good and clear tut about is okay, but please provide a clear tut about using placeholders and prepared regarding CREATING a new database.
Dear all, For an e.commerce project, I have the following for a carts table, which seem to be the practice in assigning date/time to such table: `date_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `date_modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', What are the merits in assigning default values as such for each date?