odds and ends
Posted: Sat Apr 26, 2003 4:17 pm
it seems that my program only has two more problems. with the problems, it functions fine, but if i were to eliminate the two problems, i'm considering myself done, and only if i were to eliminate the two problems.
FIRST:
how do you check to see if checkboxes have been checked from a form that's been submitted. say the name of the checkbox is, what would be the syntax to make sure it's been checked from the form that takes in the submission? my assumption would be
Is this the correct syntax, and I'm just doing something quirky that's making it not work?
SECOND:
My script writes text to a text file using fwrite. After submitting the text and I check the text file, it seems that all of the apostrophe's have been escaped with a \. When I used fopen to pull the text back into PHP, all the apostrophe's have still been escaped. What's the way around this? I think I remember seeing a command which eliminates all the escape characters. Anyone?
Thanks for all of your help over the past few days guys.
FIRST:
how do you check to see if checkboxes have been checked from a form that's been submitted. say the name of the checkbox is
Code: Select all
<INPUT TYPE=checkbox NAME="checkAdmissions">Code: Select all
if ($_POST['checkAdmissions'] == true)SECOND:
My script writes text to a text file using fwrite. After submitting the text and I check the text file, it seems that all of the apostrophe's have been escaped with a \. When I used fopen to pull the text back into PHP, all the apostrophe's have still been escaped. What's the way around this? I think I remember seeing a command which eliminates all the escape characters. Anyone?
Thanks for all of your help over the past few days guys.