I have this code:
while($row=mysql_fetch_array($query)){
echo '<a onclick="return myFunction('.$row['value']'.')"></a>';
}
I need to use that dynamic parameter in a function like this:
function myFunction(my_value){
alert('This is my value' + my_value);
return true;
}
But the function is not called because of that parameter.Does anyone why?