French Walking Tours Logo              View Reservation/Account
\n"; print "

\n"; print 'Please enter your Reservation # : '; print "\n"; print "

"; print "

\n"; print '(example: 2006035001)'; print "

"; print "

\n"; print "\n"; print "    \n"; print "

\n"; } function build_form_02($field00,$field01,$field02,$field03,$field04,$field05,$field06,$field07,$field08,$field09,$field10,$field11,$field12,$field13,$field14,$field15,$field16) { print "

The following is your French Walking Tours Reservation/Account Information Receipt. Please contact us if you have any questions. Print a copy for your records.

\n"; print "
\n"; print "

\n"; print "      Reservation # : 
\n"; print "          First Name : 
\n"; print "           Last Name : 
\n"; print "    Address Line 1 : 
\n"; print "    Address Line 2 : 
\n"; print "                      City : 
\n"; print "                    State : 
\n"; print "             Zip Code : 
\n"; print "               Country : 
\n"; print "   Phone Number : 
\n"; print "    E-Mail Adress : 
\n"; print "                    Tour : 
\n"; print "       No of Adults : 
\n"; print "  Tour Start Date : 
\n"; print "           Total Cost : 
\n"; print "      Amount Paid : 
\n"; print "    Amount Owed : 
\n"; print "

\n"; print "
\n"; } build_form_01(); $inresno = $_GET['inresno']; $inresno_len = strlen($inresno); if (($_GET['submitted']) and (($inresno_len=="0") or ($inresno_len < 10) or (!is_numeric($inresno)))) { print "

\n"; print "Reservation # not entered correctly : "; print $inresno; print "

\n"; } if (($inresno_len=="10") and (is_numeric($inresno))) { $ind01="1"; $link=mysql_connect('localhost:6033','atc1n1','mickey'); if (!$link) { print "Can't connect to localhost. The error is
"; print mysql_connect_error(); print "
"; } mysql_select_db('atc1n1'); $query="SELECT * FROM reservations WHERE atc1n1.reservations.reservationno=".$_GET['inresno']; $error=mysql_error(); if($error) { print "query $query lead to error
$error"; } $result=mysql_query($query); $error=mysql_error(); if($error) { print "query $query lead to error
$error"; } while ($columns=mysql_fetch_array($result)) { $dollar = "$ "; $ind01="2"; $field00 = $columns[0]; $field01 = $columns[1]; $field02 = $columns[2]; $field03 = $columns[3]; $field04 = $columns[4]; $field05 = $columns[5]; $field06 = $columns[6]; $field07 = $columns[7]; $field08 = $columns[8]; $field09 = $columns[9]; $field10 = $columns[10]; $field11 = $columns[11]; $field12 = $columns[12]; $field13 = $columns[13]; $field14 = $dollar.$columns[14]; $field15 = $dollar.$columns[15]; $field16 = $dollar.$columns[16]; $field00_len = strlen($field00); if ($field00_len > 0) { build_form_02($field00,$field01,$field02,$field03,$field04,$field05,$field06,$field07,$field08,$field09,$field10,$field11,$field12,$field13,$field14,$field15,$field16); } } } if ($ind01=="1") { print "

\n"; print "Reservation # not found : "; print $inresno; print "."; print " Please contact French Walking Tours.

\n"; } ?>

[Home] [Fragrant Provence] [Sensuous Loire Valley] [Trip Schedule] [Terms & Conditions] [Helpful Links]

For reservations contact :
French Walking Tours (FWT)
444 East 51st Street
New York, New York, 10024
(212) 333-4444
Last Updated: 04/10/06

Valid XHTML 1.0!