例如,我添加了一条记录,该记录的时间也应该填满,然后我用6:30 pm这样的格式填充了时间文本框
So how could I store this data into mysql database?What data type should I use?Because there are time,datetime and timestamp datatypes.我真正想实现的是让用户以H:MM am/pm (例如6:30 pm)的格式输入时间,以适当的方式将其存储在
$link = mysql_connect('localhost', 'your_mysql_username', if (!$link) die('Could not connect to MySQL: ' . mysql_error());
// ... and use the correct database$selected =