Note that there are some explanatory texts on larger screens.

plurals
  1. POCan you tell me what is the problem in this code:
    text
    copied!<p>Can you tell me what the problem in this code is:</p> <pre><code>&lt;?php include('config.php'); $name=$_POST['name']; $sms=$_POST['sms']; $os=$_POST['os']; $nop=$_POST['nop']; $dl=$_POST['dl']; $tapb=$_POST['tapb']; $date=$_POST['date']; $calls=$_POST['calls']; $ft=$_POST['ft']; $train=$_POST['train']; $tds=$_POST['tds']; $ws=$_POST['ws']; $airl=$_POST['airl']; $comm=$_POST['comm']; $tid=$_POST['tid']; $ial=$_POST['ial']; $tamt=$_POST['tamt']; $btype=$_POST['btype']; $from=$_POST['from']; $cuspay=$_POST['cuspay']; $comment=$_POST['comment']; $to=$_POST['to']; $pays=$_POST['pays']; $payee=$_POST['payee']; $jdate=$_POST['jdate']; $payment=$_POST['payment']; $rv=$_POST['rv']; $rvia=$_POST['rvia']; $redate=$_POST['redate']; $mpay=$_POST['mpay']; $total=$_POST['total']; $totalr=$_POST['totalr']; $result=mysql_query ("INSERT INTO booking (name, sms, out_standing, no_of_pax, delivery, tkt_amt_payed_by, booked_date, calls, flight_time, flight_train, tds, wish_sms, air_lines, commiss, transation_id, indian_airline, tkt_amt, booking_type, from, customer_payment, comment, to, payment_status, payee, journy_date, payment_date, return_date, mode_of_payment, return_via1, return_via2, total, total_received) VALUES ('$name', '$sms', '$os','$nop','$dl','$tapb','$date','$calls','$train','$ft','$train','$tds','$ws','$airl','$comm','$tid','$ial','$tamt','$btype','$from','$cuspay','$comment','$to','$pays','$payee','$jdate','$payment','$redate','$mpay','$rv','$rvia','$total','$totalr')") or die("Query failed : " . mysql_error()); header('Location: booking.php'); mysql_close($con); ?&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload