Menu
Hi all,
Just wondering if anybody can spot the syntax error with the below.
[CODE]
‘<button type=”button” onclick=”window.location=’bookview.php?id=’. $row[‘bookingref’].’&hn’. $row[‘hotelname’].””>Book Now</button>’
It works fine when I just append one row to the URL like this
[CODE]
‘<button type=”button” onclick=”window.location=’results.php?id=’. $row[‘proposalid’] . ””>Book Now</button>’
The button only stops workin when I append the second ‘hotelname’ row.
Think its just a syntax error but I cant manage to spot it.
Any suggestions would be much appreaciated