Syntax error …replace
<td>$row{['emp_dept']}</td>
<td>$row{['emp_salary']} </td>
with
<td>{$row['emp_dept']}</td>
<td>{$row['emp_salary']} </td>
More Related Contents:
- PDO support for multiple queries (PDO_MYSQL, PDO_MYSQLND)
- How to use mysqli prepared statements?
- mysqli last insert id
- PHP MySQL Google Chart JSON – Complete Example [closed]
- pdo prepared statements with wildcards
- I cannot get my login form to connect interact properly with mySQL database [closed]
- Storing and displaying unicode string (हिन्दी) using PHP and MySQL
- Do I have to guard against SQL injection if I used a dropdown?
- Best way to check if mysql_query returned any results?
- mysql_fetch_array return only one row
- Using MySQLi from another class in PHP
- php include error not findind the path
- mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]
- Increment value in MySQL update query
- Laravel 5.2 – Use a String as a Custom Primary Key for Eloquent Table becomes 0
- a better approach than storing mysql password in plain text in config file?
- Selecting a float in MySQL
- mysql query result in php variable
- Javascript function post and call php script
- while ($row = mysql_fetch_array($result)) – how many loops are being performed?
- mysql_real_escape_string is undefined
- Unknown database error in PHP but it exists in PHPMyAdmin
- How do detect that transaction has already been started?
- Trying to access array offset on value of type bool
- CakePHP Database connection “Mysql” is missing, or could not be created
- How to get primary key of table?
- Simple way to read single record from MySQL
- How to insert json array into mysql database
- Why do I get “Resource id #4” when I apply print_r() to an array in PHP? [duplicate]
- PHP PDO how to run a multiple query request?