Redundant Scripts
Posted: Fri Jul 06, 2012 9:19 pm
Hello Everyone:
I've a question about how to handle redundant scripts. Following is a synopsis of the issues:
And ... if I include file 1 in 2 and 3, will the results carry through 2 and 3 back to the original file?
Also... if I include file 1 in 2 and 3, are there things I should be aware of in setting up the files?
Thanks Much:
Pavilion
I've a question about how to handle redundant scripts. Following is a synopsis of the issues:
- User starts a discussion topic and may (or may not) want to invite several participants &/or add attachments.
- There are three buttons
- Save Topic - processtopic_1.php
- Save Topic and email invitations to your participants - processtopic_2.php
- save Topic and add attachments - processtopic_3.php
- As you can imagine the script to "save topic" is the same line-by-line.
And ... if I include file 1 in 2 and 3, will the results carry through 2 and 3 back to the original file?
Also... if I include file 1 in 2 and 3, are there things I should be aware of in setting up the files?
Thanks Much:
Pavilion