Help with UDT
Posted: Thu May 17, 2012 7:44 am
I'm trying to create a UDT for a form but I am stuck here. Appreciate if anyone can help. The original code are like the following:
I cant get this to work:
Also, I am not sure if I add echo infront of the script tag like the following in red.
Can anyone show me what is the correct way of doing this? Thank you
Code: Select all
<input type=hidden name="cartId" value="echo'$Price['bookingid']; ">'
<input type=hidden name="name" value="<? echo $Price['fullname']; ?>">
Code: Select all
echo'<input type=hidden name="name" value="<? echo $Price['fullname']; ?>"';
Code: Select all
echo'<__script__ language="JavaScript" src="https://www.worldpay.com/cgenerator/cgenerator.php?instId=123456"></__script>';