Check out example codes for "Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'autos_id' in 'field list' in". It will help you in understanding the concepts better.

Code Example 1

$stmt = $con->prepare("SELECT Username, Password FROM users WHERE Username = ? AND Password = ?");

Learn ReactJs, React Native from akashmittal.com