Welcome, guest! Login / Register - Why register?
[email protected] webmail now available. Want one? Go here.
Windows getting boring or just want to try something Open Source for your next Desktop Environment?! Go Zorin OS.

Paste

Pasted as Java by registered user gunturps ( 2 years ago )
kursibus.php

<?php
	include 'connection.php';
	$id_bus=$_GET['id_bus'];
	$query = "SELECT * FROM bus WHERE id_bus=$id_bus"; //select table in database
    $sql = mysqli_query($con, $query);
    $arraydata = array();
    $data = mysqli_fetch_assoc($sql);
 
    echo json_encode($data);
?>

 

Revise this Paste

Your Name: Code Language: