php - Array to string conversion error in Radio -


  $ डेटा = mysql_query ("चुनें user_pokemon_db से WHERE user_id = '" $ id। "'") ; जबकि ($ पंक्तियां = mysql_fetch_assoc ($ डेटा)) {$ db_id = $ पंक्तियाँ ['आईडी']; $ सरणी [] = सरणी ($ db_id); } Foreach ($ value as $ value) {गूंज '& lt; input type = "radio" name = "change" value = "'। $ Value।" & Gt; & lt; br & gt; '; }   

मुझे रेडियो लाइन पर त्रुटि मिल रही है।

  स्ट्रिंग रूपांतरण के लिए एरे   

लेकिन जब मैं सरणी में print_r करता हूं, मान पूरी तरह से लाता है और सरणी में निर्दिष्ट होता है। समस्या क्या है?

जैसा कि लाशेन को असाइन करने का उल्लेख किया गया है, इस सिंटैक्स का उपयोग करने के लिए आप जिस सरणी के लिए आवश्यक हैं:
<पूर्व> $ सरणी [] = $ db_id;



Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -