Jump to content

Help with a simple join


Jeffro

Recommended Posts

I continue to learn php... and still without the ability to create joins in mysql.  :D  Not a great mix...  but, I need some quick help.  Can someone join this for me?  I need the select statement for my php code. 

 

select id, title, categoryid from images

select id, category from categories

 

images.categoryid = categories.id

 

I'm trying to construct a url.  Thanks. 

Link to comment
https://forums.phpfreaks.com/topic/230984-help-with-a-simple-join/
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.