PHP Programing, assignment help
PHP Programing, assignment help
Create a document with a form that registers all non-profit religious organizations in the area, the number of people in their congregation, and their denominations. Your program will create a single text file that saves information for each organization/church on a separate line. The name of the data file is churches.txt. The file should be created in the same directory as your running program, without hard-coding the file path to ensure portability. (This means that when I am running your file, I will copy it to my working directory, wherever it is, and after I run your program entering information, the file will be created in the same folder as the program).
In the data file please include the Church name, Membership, and Denomination, separated by commas. Membership should only accept numbers, Denomination should only accept strings Methodist, Protestant, Catholic, Lutheran, Baptist, Orthodox, and misspellings should not be allowed. The first line of the output will be the headers. You can make upall the names, and numbers while you are testing your programs.
Sample Output written to a file:
Church Name, Membership, Denomination
First Baptist of Gaffney, 123, Baptist
The Church of Purple Cross, 34, Methodist
Church of St. Katherine, 1234, Catholic
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


