Jump to content

Help with query


tobeyt23

Recommended Posts

I have a table for that we will enable products and a fieldname in another table I reference that field name. How can i query the the product table to get the fieldname if enabled and then pull for the other table where fieldname matches.

 

table 1:

 

id: 1

name: test

enabled 1

fieldname is_test_active

 

table 2:

 

id: 1

is_test_active: 1

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/292911-help-with-query/
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.