Thread
:
SELECT data from one row IF another row = 1?
View Single Post
03-25-2012, 12:42 AM
PM User
|
#
3
Vernier
New Coder
Join Date: Dec 2011
Posts: 86
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
Mishu
You can put the print in an IF block and if active = 1 in the current row, create the link. Otherwise don't create the link.
Could you give me an example please, not too good with mysql! :P
Thanks,
~ David
Vernier
View Public Profile
Find More Posts by Vernier