ok lets say i have the flowing code
$fileName = "bob.txt";
$fileContents = "this is what i want inside the file";
i would like to take $fileContents and write it to a text file called $fileName, could some one please give me an example of how this would be done, i am very very new to php. thank you very much! also i don’t want to edit a file, i want to create a new one based on the fileName, all the tuts show me how to edit a file but not make a new one