PHP: click variable to pop a confirm box
I have a simple java script which asks for confirmation on clicking $temp.
$temp="V3.2"
echo '<td class="item_unsold"><a href =
"manage-software.php?prod='.$row[0].'"
style="color:red" onclick="return confirm(\'Are you sure you want to Continue
Installation?\')">$temp</a></td>';
Vale of $temp is not getting printed. I am new bie and i dont know how to
do that. echo $temp, print $temp doesn't work and prints "echo
$temp"/"print $temp" and not the value of $temp. how to print value of
variable here?
No comments:
Post a Comment