This file can be visually read and interpreted without further technology, provided the list is short.
假设列表很短,这个文件可以被直观地读取和解释,无需进一步的技术。
To get a list of all the files for a particular user, the programmer must first read the row from the users table, then parse the file's text and run an individual SELECT statement for each file.
要得到一个特定用户的所有文件的列表,程序员必须首先从用户表中读取行,然后解析文件的文本,并为每个文件运行一个单独的SELECT语句。
So, to put the list on the top of the page, I simply open the file and read each line in to the tag with the ID of result.
因此,要将列表置于页面顶部,只需要打开文件并把每一行读入ID为result的标记中。
应用推荐