[php]
<?php include 'connection.php'; $sql = "SELECT origin,destination,departure,arrival,craftoperator,date,returndte,operatorlogo,Price FROM test WHERE origin = '".$_POST['origin']."' AND destination = '".$_POST['destination']."' AND date = '".$_POST['departure']."' AND returndte = '".$_POST['return']."' "; $result = $conn->query($sql); while($row = mysqli_fetch_assoc($result)) { $output[]=$row; } print(json_encode($output)); ?>[/php]
Kindly see attachments below the output.png file shows my desired output with pagination even better then second image is how far i have come and the code is what i have written so far and am stuck