Hello Good Morning

i Developed a page called search.php which is included in every file of the project and
in search search.php if we click on submit button we will move to result.php page
my problem is i written as
<form action="?result1?id=<? $_GET?>" onsubmit="javascript: return groups(this);" method="GET" name="hotForm" style="margin: 0px;">
iam getting the URL in result page as

pageName=hotSearch&cid=276698&locale=en_US&submitted=true&validateCity=true&avail=true&passThrough=true&passThrough2=true&isHotels=true&isCondos=false&showCondos=true&showHotels=true&mode=2&netOnly=false&firstSearch=true&isAdvancedSearch=false&specials=false&showPopUp=true&city=Dar+es+Salaam&ranking=0&arrivalMonth=0&arrivalDay=7&departureMonth=0&departureDay=9&numberOfRooms=1&room-0-adult-total=2&room-0-child-total=0&hotel=Search

i require to hold the values in result.php and make query on that
but in result.php if i written as
echo $_GET;
the values are not printing.

please give the solution

Thanks in advance

Viru

"Please give the solution" is most probably what causes this thread to have 0 replies.

I didn't really read your topic, but in your form you write

action="?result1?id=<? $_GET['city']?>"

Wouldn't you want to write

action=?result1&id=...

?

Goodluck.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.