query showing error

"SELECT * FROM admin INNER join category on category.cat_id=admin.cat_id where admin.company=".$_REQUEST['company']."";


Your error could be because your code is missing single quotes around =".$_REQUEST['company'].""; . Try changing it to ='".$_REQUEST['company']."'"; . If this is not the error, please post the error message here for it would be easier to identify what is exactly the problem.

Hope this was of help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.