Skip to main content
Topic: Get value from table row in to costume view marquee behavior="scroll" direction (Read 283 times) previous topic - next topic

Get value from table row in to costume view marquee behavior="scroll" direction

I try to get value from table row in to costume view with code marquee behavior="scroll" direction to get a scroll text effect from that row value
But With my current code give me a undefined variable ,is there any way to archive this?
This is my code
<marquee behavior="scroll" direction="right"><?php echo $modeldata['campaign_title'];?></marquee>

Re: Get value from table row in to costume view marquee behavior="scroll" direction

Reply #1
@Andreia$modeldata doesn't exist on the HTML section of a PHPRad project. the variable available in the HTML section is $data. $modeldata is only available on the controller section, which you can use on Page Events.
Code: [Select]
<?php echo $data['campaign_title']; ?>