i am still deciding on the database schema, but i will have chats saved in a database table. the mysql db will constantly be updated. what would be the friendliest way to display the data from the database? should i just use php to do it? is there something easier? can soemone give me examples of code of how to display the data in a friendly, good-looking way
Share
Assuming you’re using PHP and MySQL and have a MySQLi connection in variable $mysqli;
Database structure would look like this:
php code would be:
This example would output something like Sunday 2nd of January 2010 09:31:02 PM <Cypher>: Hello, dude!