a.doroudian Posted January 21, 2012 Share Posted January 21, 2012 Hi every body I get label of forms from db to customize for different languages. My problem is when i get result how i could find label of each row. I could select for each row of form but it is not logical. In .Net i could fill array and use items.find property of array to find title of each row for example label of "first name" in English or Germany. Thanks for any guides. Regards Ali Quote Link to comment https://forums.phpfreaks.com/topic/255458-filter-result-for-each-item/ Share on other sites More sharing options...
trq Posted January 21, 2012 Share Posted January 21, 2012 Why don't you actually query the database for the data you want in the first place? Quote Link to comment https://forums.phpfreaks.com/topic/255458-filter-result-for-each-item/#findComment-1309755 Share on other sites More sharing options...
a.doroudian Posted January 21, 2012 Author Share Posted January 21, 2012 I do it in first place . Imagine i have five textbox with five label,in first place i get data of all label in $Result. Now i want to set label of firstname in English language ,How i could extract record of FirstName from $Result for example $Result_Find("firstname") ?. Quote Link to comment https://forums.phpfreaks.com/topic/255458-filter-result-for-each-item/#findComment-1309813 Share on other sites More sharing options...
litebearer Posted January 21, 2012 Share Posted January 21, 2012 perhaps seeing the code you have tried will help us to assist you Quote Link to comment https://forums.phpfreaks.com/topic/255458-filter-result-for-each-item/#findComment-1309814 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.