$result = "";
while (some condition)
{
$result = file_get_contents("filename.txt");
$result = "$result\n" . $result;
file_put_contents("filename.txt", $result);
}
echo nl2br ($result);
我想在网页上回显第一行左对齐,第二行右对齐,依此类推。有什么方法可以做到这一点吗?
https://stackoverflow.com/questions/51118619
复制相似问题