Jump to content

[SOLVED] Simple MYSQL problem


xcmir

Recommended Posts

Hi when using PHP to run an MYSQL query I am getting a small problem in this command:

 

SELECT * FROM table1 where field='value'

 

What I am trying to do is select the data from field which is in table2. When I query the above command, it tries to select field from table1. How do I solve this?? Help much appertiated.

Link to comment
https://forums.phpfreaks.com/topic/112414-solved-simple-mysql-problem/
Share on other sites

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.