I need to retrieve a field, only if is not empty:
I have a table with: counter(primary),id (this is the same for the same page), text, language and other fields: i have the id and the language.
I need to search the text in that language, and if it's empty I need the text in english. example: - 0,1,hello,eng - 1,1,ciao,ita In this case I need to retrieve "ciao", but if it's empty I need "hello".
How can I?