I know this isnt PHP code, but I promise I am using it with PHP
When using this code
<script language="javascript">
function addSeat(value)
{
var list = document.form1.list1.value;
if (list) {value = "," + value;}
document.form1.list1.value = list + value;
}
function stage1booking()
{
tmpArray as new Array(100)
var seatString as string
var seatValues = document.form1.list1.value;
tmpArray = seatStatus.split(,);
}
</script>
I always get the error. Syntax error at line 27: ; expected
I have tried changing everything and still get the error
Any ideas
Regards