My question is related to how checkboxes work, however, while checkboxes were easy to manage I have found the need to do the following to keep my code organized but could not get the results i wanted:
Code: Select all
<input type="Text" name="newsїcomp_name]">
<input type="Text" name="newsїname]">
to keep it short those are my two input fields, as you see if you have many sections in one form it would be nice to carry them as arrays throughout so that news[name] is different from say user[name].
Then my attempt is to catch this information from the form and use associative arrays to do so:
Code: Select all
$post_news = $_POST['news'];
echo($post_news['email']);
But this seems to just give me blank pages... can anyone give me a suggestion? am i getting something wrong here... or is it right and i better check my other 400 lines of code?
Thanks guys, i appretiate it. Thanks in advance... i don't want to post a thank to bump this thread up for no reason, so accept it in advance
