Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About maideen

  • Rank
  1. Hi I have an issue to insert data from dropdown to mysql. It is inserting the partial data to database Example: if selection is Account Dept, but inserted only Account. missing Dept if selection is Non Active, inserted only Non. missing Active. whatever coming after space, it cannot be inserted. It happens only in dropdown control. In Database, using varchar(30) for column Pls advice where I did wrong. Thank you Maideen Here is my HTML code <label>Status</label> <select cla
  2. Hi I am new. I am using Bootstrap css. I have an issue to display image with data type BLOB, Really I don't know how to do this. Pls advise me how to do this. Thanks maideen My php insert Code <?php require_once '../inc/config.php'; if(isset($_POST['add'])) { if($_SERVER["REQUEST_METHOD"] == "POST") { $sid =$_POST['sid']; $sname =$_POST['sname']; $nric=$_POST['nric']; $gender=$_POST['gender']; $dob=$_POST['dob']; $courseid=$_POST['courseid']; $pname=$_POST['pname']; $emailid=$_POST['emailid']; $hpno=$_POST['h
  3. Hi I could not load data into input text and select option control. I don't know where i did wrong. Pls advice me Thank you in advence maideen <?php require_once '../inc/header.php'; ?> <?php if($_SERVER["REQUEST_METHOD"] == "GET") { $id=$_GET['id']; $sql ="Select * from tbl_parameter where id ='$id'"; $stmt = $pdo->prepare($sql); $stmt->execute(); while ($row = $stmt->fetch()) { $paramhead =$row['paramhead']; $paramdetails =$row['paramdetails']; $id =$r
  4. Mr.Pravin S I have checked as per advice, data is not posting only from dropdown control and normal text control can be posted. Dropdown control fetch data from database table. Have you any advice, pls..... <select id="paramhead" name="paramhead" class="form-control select2" > <option>-- Select --</option> <?php $sql = "select * from tbl_paramhead order by paramhead"; $stmt = $pdo->prepare($sql); $stmt
  5. thanks for reply Mr.Pravin I have added echo '<option value ='.$row['paramhead'].'>' .$row['paramhead']. '</option>'; But Still same, cannot insert into data table Where did i do mistake> Pls advice me Thank you again
  6. Hi I am new in PHP. I have used dropdown to bind with my sql data. It is ok But I could not insert data into table only from dropdown. Other controls like text can be inserted. I have given code below. Pls advise me. Maideen <?php require_once '../inc/header.php'; ?> <div class="portlet light bordered"> <div class="portlet-title"> <div class="caption"> <i class="icon-social-dribbble font-green"></i> <span class="caption-subject font-green bold uppercase">Parameter<
  • 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.