hi friends i need help please...
i have table mysql (NO, LANGUAGE) like this:
no | English | Italian |
1 | name | nome |
2 | address |indirizzo |
i want to make translate language program. the default language is English. i will translate from english to italian and so i will need dynamic input form that will display only where some italian language has not been transleted yet. example :
no| English | Italian |
1 | name | nome |
2 | address |indirizzo |
3 | hobby | ? |
4 | sex | ? |
All i wan't to do is build query to check italian language that not has been translate in English yet, and show them in input form, like this.
no | English | Italian
3 | hobby | input textarea box here
4 | sex | input textarea box here
i have already build queries like this :
sql1= "select from mytable where language = 'English'and NO='$no';
sql2= "select from mytable where language = 'Italian' and NO='$no';
so... if (sql1 != sql2) { show input form} else { do nothing};
I don't know what exactly query to do that.. please help me and thanks so much