PHP and MySQL HELP
Go to solution
Solved by santsys,
mysql_query returns a result set, not an individual value... so you have to process the value like you are in the other areas.
$result = mysql_query($query);if (!$result) { die("No result");}$row = mysql_fetch_assoc($result);$customerId = $row['CustomerID'];

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now