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 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'] 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 Link to comment https://forums.phpfreaks.com/topic/86736-solved-is-this-right/#findComment-443271 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.