Jump to content


Photo

Probelm with code *SOLVED*


  • Please log in to reply
2 replies to this topic

#1 ltoto

ltoto
  • Members
  • PipPipPip
  • Advanced Member
  • 162 posts

Posted 25 September 2006 - 08:48 AM

$Answers = "Accomodation:".$_POST['selectAccom']. <br> "Dept Airport:".$_POST['txtDept']. <br> "Destination Airport:".$_POST['txtDest']. <br> "Adults:".$_POST['selectAdult']. <br> "Children:".$_POST['selectChild']. <br>  "Infants:".$_POST['selectInfants']. <br> "Day:".$_POST['selectDay']. <br> "Month:".$_POST['selectMonth']. <br> "Year:".$_POST['selectYear']. <br> "Duration:".$_POST['selectDuration']. <br> "Rating:".$_POST['selectRating']. <br> "Hotel Name:".$_POST['txtHotelname'] . <br> "Rooms Required".$_POST['selectRequired']. <br> "Interconnectiong Rooms:".$_POST['selectInterconnect']. <br> "Suites:".$_POST['selectSuites']. <br> "Room Type:".$_POST['selectRoomtype']. <br>"Transfers Required:".$_POST['selectTransfers']. <br> "Car Hire:".$_POST['selectCarhire']. <br> "Insurance:".$_POST['Insurance']. <br> "Golf Club Hire:".$_POST['selectGolfHire']. <br> "Pre Book Golf Games:".$_POST['selectPrebook']. <br> "Additional:".$_POST['txtAdditional']. <br> "Cot Required:".$_POST['selectCot']. <br> "Non Smoking:".$_POST['selectSmoking'].<br> "SV PV BLC:".$_POST['selectSV']. <br> " Mini Bar:".$_POST['selectBar']. <br> "Flowers, Fruit and Wine:".$_POST['selectFlower']. <br> "Extras:".$_POST['txtExtras']. <br> "Sport Facillities:".$_POST['txtSport']. <br> "Medical Requirments:".$_POST['txtMedical']. <br> " Other Information:".$_POST['txtInfo'].

this the error i get from this code:


Parse error: parse error, unexpected '<'

anyone see what is wrong

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 25 September 2006 - 09:27 AM

Your br tags need to be inside the quotes
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

#3 ltoto

ltoto
  • Members
  • PipPipPip
  • Advanced Member
  • 162 posts

Posted 25 September 2006 - 10:02 AM

ahhh thanks, silly mistake from me  >:(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users