Просмотр поста #73624: Запись в файл

.
Onatolich

$file = fopen('file.txt', "w+");
fwrite($file, $a . '="' . $b . '"');
fclose($file);