scbookz Posted August 2, 2009 Share Posted August 2, 2009 if product_image = xyz.jpg then $b = product_id for product image xyz.jpg ---------------------------------------------------- how do i get dat afrom mysql from another data field as reference Link to comment https://forums.phpfreaks.com/topic/168534-i-tried-to-avoid-mysql-calling-but-i-need-to-use-it-how-do-i-do-this/ Share on other sites More sharing options...
smerny Posted August 2, 2009 Share Posted August 2, 2009 "SELECT product_id FROM tablename WHERE product_image = 'xyz.jpg'" ? i'm not really sure exactly what you are looking for i guess Link to comment https://forums.phpfreaks.com/topic/168534-i-tried-to-avoid-mysql-calling-but-i-need-to-use-it-how-do-i-do-this/#findComment-889048 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.