callfi_api/get_twitter_username.php
2024-06-20 23:34:56 +08:00

13 lines
239 B
PHP

<?php
include('connection.php');
$conn = OpenCon();
$userId = $_GET['id'];
$selectSql = "SELECT tag FROM TwitterTags WHERE id='$userId'";
$selectQuery = mysqli_query($conn, $selectSql);
echo mysqli_fetch_assoc($selectQuery)["tag"];
?>