thara Posted April 25, 2012 Share Posted April 25, 2012 Hello.. I have two php form and one has categories and their subjects. In there, users can select category and relevant subjects to that category. Likewise users can select upto 3 categories and their subjects in first form. when those select and after submitting those should handle in my second page. But I have made so frustrated here when Im going to handle those in my second page. Please Can anybody help me to do this. I use this, but...... if ( ( isset($_POST['submitted2'])) && ( isset($_SESSION['category'])) && (isset( $_SESSION['subjects'])) && sizeof( $_SESSION['category']) == 1) { //$_SESSION['category'] = $_POST['category']; print_r ( $_SESSION['category']); echo 'good'; } elseif ( ( isset($_POST['submitted2'])) && ( isset($_SESSION['category'])) && (isset( $_POST['main_category'] ))) { print_r ( $_SESSION ); echo 'very good'; } Thanks in advance. Link to comment Share on other sites More sharing options...
Larry Posted April 25, 2012 Share Posted April 25, 2012 I'm sorry. I'm not quite following what you're trying to do or what the problem is. Link to comment Share on other sites More sharing options...
bahaa Posted April 27, 2012 Share Posted April 27, 2012 can you provide us with a print screen to your page so we migh get an idea of what you are trying to achive ? I really don't know what are you trying to do and if your problem with doing it in php or your database design is not good. Link to comment Share on other sites More sharing options...
Recommended Posts