Hey all,

Quick question. I have a small java script that is running in a php file and it has a url item. (I know very little about java so bear with me) =p Within the php script, this works fine and shows what I need:

$block1->contentRow('',$blockPage->buildLink("../projects/viewproject.php?id=$id",'',in)); 

but when I use the java url item:

ssmItems[1]=["<?PHP echo $strings["full_name"] ; ?>", "<?PHP $block1->contentRow('',$blockPage->buildLink("../projects/viewproject.php?id=$id",'',in)); ?>", ""]

That second php item which is the same as the one above, does not work, just pops up with a java error saying error expected "]" I guess I am just not seeing the issue. Anyone have any feedback?

    Possibly the problem is here:

    , ""]
    

    Maybe it should not include the comma and doulbe quotes?

      Write a Reply...