I have a situation where I am supposed to be pulling a customer`s file from a database and returning their password if their file is found, but if the customer ID that was entered has not been found, I am to return "NOT FOUND."
I was trying to set it up as an if statement like this: if $customerID = anything return password;
However, I wasn't sure how exactly I would go about assigning "anything" as a real part of the code. Is there a way to do this, or should I reevaluate the way I`m going at this entirely?
NOT FOUND.?