Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by PravinS

  1. Missing semi colon( ; ) at below mentioned line $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION)
  2. does database table "tbl_paramhead" have data in it? have you checked the view source to check whether the drop down is generated properly...if yes, then if should work
  3. print_r() the $_POST array at top and check what you are getting in post data, also check the view source of the page to check the drop down values
  4. You haven't set value in dropdown options, check below line echo '<option value>' .$row['paramhead']. '</option>'; use it as echo '<option value="'.SOME_VALUE.'">' .$row['paramhead']. '</option>';
  5. You haven't passed link identifier returned by mysqli_connect() to mysqli_query() function Check Manual for more details: http://php.net/manual/en/mysqli.query.php
  6. You can replace below line for($i=1; $i<=8; $i++){ by $numrows = count($row); for($i=1; $i<=$numrows; $i++) {
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.