Jump to content

[SOLVED] Is this right?


timmah1

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.