Okay I am going to pull out my hair. I have been working on this for over 10 hours and I know someone out there can help me.
I am looking to grab information from passed information
the field I am pulling is char2=checked it will either come through as char2=checked or char1=checked and I want it to fill out the below:
<input type="checkbox" name="Checkbox0" value="35182" [checked="echo $_GET["char1"]"] > Make-A-Wish<br> <input type="checkbox" name="Checkbox1" value="35184" [checked="echo $_GET["char2"]"]> Habitat for Humanity<br>
However the code above checks both boxes off even though only one comes through from the previous page. I have been reading up on the codes and in my form of PHP apparently as long as "checked" is in the string the box will be marked checked and I can't seem to just grab the word only i have tried just the echo get and put it in brackets and parentheses and it won't just print the word.
Someone help before I lose my mind!!
Thank you everyone.