php - Multiple fopen Modes conflict -


why fwrite using mode w on a when fwrite calls $a?

$a = fopen ('example.html', 'a'); $w = fopen ('example.html', 'w');  fwrite($a, "example<br>\r\n"); fclose($a); 


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -