echo - Display Form Input PHP -
i sending form on php , displaying results on new page. display dates inputted user on new page have reminder of date entered. have tried following did not work:
echo "$start"
here code front-end form:
<form action="availability" method="get"> <div id="cin">check-in date: <input type="text" id="start" name="start"></div> <div id="cout">check-out date: <input type="text" id="end" name="end"></div> <div id="csubmit"><input type="submit"></div> </form>
'start' being field i'm trying pull. idea?
$_get['start']
if it's method="get"
, otherwise
$_post['start']
or if you're lazy
$_request['start']
which both post , (in specific order ;o)
Comments
Post a Comment