Hello,
Pls Help me with my problem. I can output all column data from table into dropdown , but I need output in dropdown only column data by user id
I insert in custom code
Help me how can i doo?
Pls Help me with my problem. I can output all column data from table into dropdown , but I need output in dropdown only column data by user id
I insert in custom code
<?php
$user = JFactory::getUser();
$con=mysqli_connect("server, "username",
"password", "databasename");
// Check connection
if (mysqli_connect_errno())
{
echo "Error: " . mysqli_connect_error();
}
$FormData = mysqli_query($con,"SELECT * FROM
"tablename" WHERE user_id=".$user->get("id")."
?>
Help me how can i doo?