PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
robhofen wrote:and i get the error code Parse error: parse error in C:\wamp\www\SD\Data.php on line 24 which means fwright isnt working
Nope, it means you have a syntax error on that line (two closing braces where only one should be). Also check the documentation for fwrite - you're passing wrong parameters to it.