Jump to content

MySql query wont work


xxreenaxx1

Recommended Posts

I am working on netbean, Its showing a warning message for this query. Not sure why. The warning was language feature was not compatible with PHP version indicated in project settings. Does this mean my setting is wrong.

 

 

 // Execute the query:
if (@mysql_query($query)) {
	print '<p>The table has been created.</p>';
}

        else {
	print '<p style="color: red;">Could not create the table because:<br />'
                    . mysql_error() . '.</p><p>The query being run was: ' . $query . '</p>';
}

mysql_close(); // Close the connection.

Link to comment
https://forums.phpfreaks.com/topic/193559-mysql-query-wont-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.