timmah1 Posted January 19, 2008 Share Posted January 19, 2008 Putting php in a java array, is this correct? I've tried the following messages[0] = new Array('<?php echo $row1['name']; ?>',"#FFFFFF"); messages[0] = new Array("<?php echo $row1['name']; ?>","#FFFFFF"); messages[0] = new Array(<?php echo $row1['name']; ?>,"#FFFFFF"); messages[0] = new Array(<?php echo $row1[name]; ?>,"#FFFFFF"); The only thing that shows up is "#FFFFFF" Can anybody help me here? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/86736-solved-is-this-right/ Share on other sites More sharing options...
Ken2k7 Posted January 19, 2008 Share Posted January 19, 2008 $row1['name'] Quote Link to comment https://forums.phpfreaks.com/topic/86736-solved-is-this-right/#findComment-443267 Share on other sites More sharing options...
timmah1 Posted January 19, 2008 Author Share Posted January 19, 2008 PERFECT! Thank you Quote Link to comment https://forums.phpfreaks.com/topic/86736-solved-is-this-right/#findComment-443271 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.