Is it possible to output <?php ?>
output in echo? So the situation is this:
<?php
// some code
foreach ( $something as $row )
{
echo '<input type="hidden" id="'.$row["id"].'" value="<?php echo $cats; ?>">'
}
?>
So how to output $cats
in the value php part? Is it possible at all?
I need the value that $cats
hold not the whole part whit htmlentities
edit:
It is not duplicate and it is not '.$cats.'
may be it's my fold that I didn't explain properly.
$cats
got its value from response of ajax script not from this query