I want to make a PHP variable equal to an entry in a database. The connection to the database is fine because it is doing other things, but the variable isn't showing up.
Here is my variable declaration:
$companyNameRet = mysqli_query($con,"SELECT company_name FROM x6_quote_data WHERE quote_number = '".$getQuote."'") ;
The variable is to be used in the "Placeholder" attribute of an input field, effectively to pre-populate a form with data from a database.
Thanks in advance.