Hi guys i am new to this forum facing some issues with my php code.
The code below says on click go to cart.php
I want to add a condition to the same--
if(reasons==Internal)
{
go to="cart1.php"
}
else
{
go to="cart.php"
}
Kindly help me with the same....
<td>
<p align="center">
<input name="Next" type="button" id="Next" value="Next" onmouseover="reasonempty();"onclick='javascript:window.location.href="cart.php?form=tmrfForm&field="+document.getElementById("reasons").value+"&field5="+document.getElementById("weekend").value,"","top=0,left=400,width=1000,height=1000,menubar=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes"; return false;'>
</p>
</td>