You’re not echoing anything:
<option value="<?php echo $row['eid']?>"><?php echo $row['ename'] ?></option>
Maybe you meant to use the short tag for echo (<?=
), but you didn’t
More Related Contents:
- How to create this type of JSON data from PHP [closed]
- how to write php code for the key press enter button when fill the form?
- Just using mysql real escape string [closed]
- Organization db for blog posts with Mysql and Php [closed]
- mysqli or PDO – what are the pros and cons? [closed]
- mysqli_stmt::bind_result(): Number of bind variables doesn’t match number of fields in prepared statement
- PHP code to convert a MySQL query to CSV [closed]
- How to resolve ambiguous column names when retrieving results?
- Causes of MySQL error 2014 Cannot execute queries while other unbuffered queries are active
- The holy grail of cleaning input and output in php?
- MySQL: Select Random Entry, but Weight Towards Certain Entries
- Multiple mysql INSERT statements in one query php [duplicate]
- How to join three table by laravel eloquent model
- MySQL – Access denied for user [duplicate]
- Calling stored procedure with Out parameter using PDO
- When *not* to use prepared statements?
- How to display an BLOB image stored in MySql database?
- How to bind LIKE values using the PDO extension?
- How do I set the selected item in a drop down box
- Fatal error: Call to undefined function mysqli_result()
- Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in
- WordPress Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php:1570
- PHP 7 RC3: How to install missing MySQL PDO
- How can I employ “if exists” for creating or dropping an index in MySQL?
- PHP MySQL pagination with random ordering
- Using Prepared Statement, how I return the id of the inserted row?
- How does {} affect a MySQL Query in PHP? [duplicate]
- When should I close a database connection in PHP?
- php connection pooling mysql [duplicate]
- Limit pagination page number