Home >Backend Development >PHP Tutorial >PHP database connection error caused by special symbols

PHP database connection error caused by special symbols

WBOY
WBOYOriginal
2016-07-25 09:05:501150browse
  1. $sql="INSERT INTO `Table Name` (`Field 1`, `Field 2`) VALUES ('Value 1', 'Value 2')";
  2. mysql_query($sql );
  3. /*
  4. from: http://bbs.it-home.org
  5. date: 2013/2/17
  6. */
  7. ?>
Copy code


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn