I am trying to get a value from a table and am using the following query. The company_name is a string (varchar). What am I doing wrong?
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.
Code:
$companyname = mysql_query ("SELECT company_name FROM pmr_users WHERE login = '" . $loginid . "'" );
LJ Wilson
My personal saying - Just remember, it can always get worse, and usually will.