Heloo everyone. I have this code for a form in PHP...but when I use $POST['collection'] or any other from th drop down lists I cannot access the vaalue of the variable passed: <form enctype="multipart/form-data" action="insert_validation.php" method="post"> <table border="0"> <tr><th>Choose category: <tr><td><select name="category"> <?php $sql=mysql_query('SELECT category from Category order by category');…
@radhakrishna.p
print("<option value=\"$idCat\">$cat</option>"); is completely valid code (if you meant line 14 above).
broj1
Nearly a Posting Virtuoso
1,211 posts since Jan 2011
Reputation Points: 167
Solved Threads: 164
Skill Endorsements: 13
Question Answered as of 4 Months Ago by
broj1,
AleMonteiro
and
radhakrishna.p