I have an issue regarding JqCloud, when I pass the php array to JqCloud it doesn't show the data.
<?php
foreach($speakers as $key=>$val){
$val->speaker_name;
}
?>
<script type="text/javascript">
var jArray= JSON.parse($speakers);
$("#example").jQCloud([jArray], {
width: 300,
height: 200
});
</script>
<div id="example" style="width: 550px; height: 350px; border: 1px solid #ccc;"></div>
Please guide me how can I do this. thanks a lot.