MySQL Forums
Forum List  »  PHP

Re: Query command doesn't work unless I enter a customerid
Posted by: Peter Brawley
Date: July 25, 2016 08:06PM

Read again. Don't quote column names.

To identify and understand bugs you've written, execute the query with error control, eg ...

$conn = mysqli_connect(...) or exit( mysqli_connect_error() );
$res = mysqli_query( $conn, $query ) or exit( mysqli_error( $conn );

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.