Hello,
i have a problem with my query. any body give suggestion please.
i have two tables named as "users" and "userimages"
in the users table there are
1)userid (primary key)
2)name
3)subscription package (Brong or gold)
and in the next table "userimages" fields are
1)auto_id
2)userid (foreign key)
3)image url.
now i want to display users order by "subscription packages" and display whose image urls are not null those user profiles display first.
thanks.