There is a missing dot in that die()
die('could not be opened because of'.mysql_error())
More Related Contents:
- Getting links from db and displaying them in another div [closed]
- HTML Form/PHP connected but MySQL is empty
- Php charset information [duplicate]
- Save the data into a database and return another value from database using PHP
- Math Symbol From Mysql To HTML? [closed]
- Thank you for helping [closed]
- Create hyperlink from html table row to open record on a new page
- Is the following code valid? [closed]
- Undefined index $_POST
- How to insert images into a database using PHP [closed]
- How to retrieve images from MySQL database and display in an html tag
- How to upload images into MySQL database using PHP code
- “slash before every quote” problem [duplicate]
- mysql_fetch_array() expects parameter 1 to be resource problem [duplicate]
- Dynamic table in HTML using MySQL and php
- mysqli_query() expects at least 2 parameters, 1 given in? [duplicate]
- display data from SQL database into php/ html table [closed]
- Echo menu tree with recursive function
- Sending HTML Code Through JSON
- Javascript function post and call php script
- PHP – Secure member-only pages with a login system
- I cannot use mysql_* functions after upgrading PHP
- onbeforeprint() and onafterprint() equivalent for non IE browsers
- Creating dynamic tables in HTML using MySQL and PHP
- Turkish characters are not displayed correctly [duplicate]
- How do I save PHP session data to a database instead of in the file system?
- mysql_fetch_array skipping first row
- saving checkbox state on reload
- Displaying BLOB image from Mysql database into dynamic div in html
- Using PHP to upload file and add the path to MySQL database